Community discussions

MikroTik App
 
paris9
newbie
Topic Author
Posts: 32
Joined: Mon Feb 03, 2014 9:31 am

DHCP FOR ETHER3 WORKS ON WINDOWS7 BUT NOT ON LINUX - HELP

Thu Mar 20, 2014 5:49 am

Help! :D

ENVIRONMENT:
-RouterBoard 952-2n
-RouterOS 6.9

PROBLEM:
I have been trying to setup dhcp-server for ether3, 4 and 5.

-When I connect my Windows7 laptop, ether3,4, and 5 deliver an appropriate dhcp address- no problem!
-When I connect my Linux laptop, ether4 and 5 deliver an appropriate dhcp address- no problem!
-When I connect my Linux laptop, ether3 will NOT offer an address to my linux laptop- FAIL!

The error message that I get from Linux is: NO DHCPOFFERS received.
When I run TCPDUMP I see that ether3 is not making any offers for DHCP.

LOG:
05:54:43 interface,info ether4 link up (speed 100M, full duplex)
05:54:45 interface,info ether3 link up (speed 10M, half duplex)
05:54:54 interface,info ether4 link down
05:54:55 interface,info ether3 link down
05:55:07 interface,info ether3 link up (speed 10M, full duplex)
05:59:40 dhcp,warning local_dhcp offering lease 172.32.32.250 for 00:0D:60:2D:CF:22 without success
06:06:45 dhcp,warning local_dhcp offering lease 172.32.32.250 for 00:0D:60:2D:CF:22 without success
06:12:04 dhcp,warning local_dhcp offering lease 172.32.32.250 for 00:0D:60:2D:CF:22 without success
06:17:02 dhcp,warning local_dhcp offering lease 172.32.32.250 for 00:0D:60:2D:CF:22 without success
06:18:02 dhcp,warning local_dhcp offering lease 172.32.32.250 for 00:0D:60:2D:CF:22 without success


Does anyone have any idea why DHCP is not connecting on ether3?

/interface>
Flags: D - dynamic, X - disabled, R - running, S - slave
0 R name="ether1" default-name="ether1" type="ether" mtu=1500 l2mtu=1600
max-l2mtu=4076 mac-address=D4:CA:6D:D1:19:0A fast-path=yes

1 name="ether2" default-name="ether2" type="ether" mtu=1500 l2mtu=1598
max-l2mtu=2028 mac-address=D4:CA:6D:D1:19:0B fast-path=yes

2 R name="ether3" default-name="ether3" type="ether" mtu=1500 l2mtu=1598
max-l2mtu=2028 mac-address=D4:CA:6D:D1:19:0C fast-path=yes

3 S name="ether4" default-name="ether4" type="ether" mtu=1500 l2mtu=1598
max-l2mtu=2028 mac-address=D4:CA:6D:D1:19:0D fast-path=yes

4 S name="ether5" default-name="ether5" type="ether" mtu=1500 l2mtu=1598
max-l2mtu=2028 mac-address=D4:CA:6D:D1:19:0E fast-path=yes

5 name="wlan1" default-name="wlan1" type="wlan" mtu=1500 l2mtu=2290
mac-address=D4:CA:6D:D1:19:0F fast-path=no

/interface ethernet
Flags: X - disabled, R - running, S - slave
0 R name="ether1" default-name="ether1" mtu=1500 l2mtu=1600 mac-address=D4:CA:6D:D1:19:0A
orig-mac-address=D4:CA:6D:D1:19:0A arp=enabled auto-negotiation=yes full-duplex=yes
speed=100Mbps

1 name="ether2" default-name="ether2" mtu=1500 l2mtu=1598 mac-address=D4:CA:6D:D1:19:0B
orig-mac-address=D4:CA:6D:D1:19:0B arp=enabled auto-negotiation=yes full-duplex=yes
speed=100Mbps master-port=none bandwidth=unlimited/unlimited switch=switch1

2 R name="ether3" default-name="ether3" mtu=1500 l2mtu=1598 mac-address=D4:CA:6D:D1:19:0C
orig-mac-address=D4:CA:6D:D1:19:0C arp=enabled auto-negotiation=yes full-duplex=yes
speed=100Mbps master-port=none bandwidth=unlimited/unlimited switch=switch1

3 S name="ether4" default-name="ether4" mtu=1500 l2mtu=1598 mac-address=D4:CA:6D:D1:19:0D
orig-mac-address=D4:CA:6D:D1:19:0D arp=enabled auto-negotiation=yes full-duplex=yes
speed=100Mbps master-port=ether3 bandwidth=unlimited/unlimited switch=switch1

4 S name="ether5" default-name="ether5" mtu=1500 l2mtu=1598 mac-address=D4:CA:6D:D1:19:0E
orig-mac-address=D4:CA:6D:D1:19:0E arp=enabled auto-negotiation=yes full-duplex=yes
speed=100Mbps master-port=ether3 bandwidth=unlimited/unlimited switch=switch1

/ip address
Flags: X - disabled, I - invalid, D - dynamic
0 address=172.32.32.1/24 network=172.32.32.0 interface=ether3 actual-interface=ether3
1 D address=192.168.10.71/24 network=192.168.10.0 interface=ether1 actual-interface=ether1
2 address=172.64.64.1/24 network=172.64.64.0 interface=ether2 actual-interface=ether2

/ip dhcp-server network
0 address=172.32.32.0/24 gateway=172.32.32.1 netmask=24
dns-server=8.8.8.8,8.8.4.4 wins-server="" ntp-server=""
domain="my.home.local" dhcp-option=""

/ip dhcp-server
Flags: X - disabled, I - invalid
0 name="local_dhcp" interface=ether3 lease-time=3d address-pool=local_pool
bootp-support=static add-arp=yes authoritative=after-2sec-delay lease-script=""

/ip pool
0 name="local_pool" ranges=172.32.32.100-172.32.32.250
 
paris9
newbie
Topic Author
Posts: 32
Joined: Mon Feb 03, 2014 9:31 am

Re: DHCP FOR ETHER3 WORKS ON WINDOWS7 BUT NOT ON LINUX - HEL

Thu Mar 20, 2014 10:24 am

Update:

I configured the same device with RouterOS 6.10 with NO change in results - same problems.
Next, I configured my Linux Laptop for 100m full duplex no negotiation - same problems.
Next, I noticed that the light for ether3 was not coming on like for ether2, 4, and 5.
-The interface is not showing up as Running.
-All the other interfaces show up as Running when I connect the same cable.
Next, I pulled out a NEW device and configured it with RouterOS 6.10 - problem resolved!

Conclusion - i think this is a hardware problem with ether3.

HOWEVER, I find it very strange that the device works ABSOLUTELY fine with my Windows7
Laptop and does NOT work with my Linux laptop. My Linux laptops are older laptops with 100mb links.
My Windows7 laptop is NEW and can handle 1gb links.

Any thoughts on this?