Hello
I got an issue, I don't know why my bge0 won't work with DHCP mode
Only wlan0 works fine.
TP-LINK ND 743:
but
Isn't help much =(
May be I missed something in theory, or just don't understand ...
Help please.
With best.
I got an issue, I don't know why my bge0 won't work with DHCP mode
Code:
ifconfig bge0
bge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8009b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,LINKSTATE>
ether 00:14:22:bf:1f:9f
inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet autoselect (10baseT/UTP <full-duplex>)
status: active
Code:
netstat -rn
Routing tables
Internet:
Destination Gateway Flags Refs Use Netif Expire
0.0.0.0/8 link#1 U 0 0 bge0 =>
default 192.168.0.1 UGS 0 764 wlan0
127.0.0.1 link#3 UH 0 0 lo0
192.168.0.0/24 link#4 U 0 77 wlan0
192.168.0.102 link#4 UHS 0 0 lo0
Code:
less /etc/rc.conf | grep defaultroute
defaultrouter="192.168.0.1"
Only wlan0 works fine.
TP-LINK ND 743:
Code:
ID Client Name MAC Address Assigned IP Lease Time
1 d610 00-13-CE-5F-34-CC 192.168.0.102 01:56:41
Code:
kaldown@d610:~ % sudo less /var/db/dhclient.leases.wlan0
lease {
interface "wlan0";
fixed-address 192.168.0.102;
option subnet-mask 255.255.255.0;
option routers 192.168.0.1;
option domain-name-servers 192.168.0.1;
option dhcp-lease-time 7200;
option dhcp-message-type 5;
option dhcp-server-identifier 192.168.0.1;
renew 4 2014/4/10 22:52:48;
rebind 4 2014/4/10 23:37:48;
expire 4 2014/4/10 23:52:48;
}
Code:
sudo less /var/db/dhclient.leases.bge0
lease {
interface "bge0";
fixed-address 192.168.0.103;
option subnet-mask 255.255.255.0;
option routers 192.168.0.1;
option domain-name-servers 192.168.0.1;
option dhcp-lease-time 7200;
option dhcp-message-type 5;
option dhcp-server-identifier 192.168.0.1;
renew 1 2014/4/7 15:57:01;
rebind 1 2014/4/7 16:42:01;
expire 1 2014/4/7 16:57:01;
}
Code:
sudo service netif restart
sudo service route restart
May be I missed something in theory, or just don't understand ...
Help please.
With best.