Results 1 to 1 of 1
Cordial Greetings:
First I put the Lines in boot.local located in /etc/init.d #
insmod /lib/modules/2.6.16.21-0.25-default/kernel/drivers/net/sundance.ko
dhclient eth1
When I startup my PC, The Internet Connection is not available
linux-bz01:/home/cepagi # ...
- 01-16-2007 #1Just Joined!
- Join Date
- Jan 2007
- Posts
- 3
dhclient not give gateway in boot.local File
Cordial Greetings:
First I put the Lines in boot.local located in /etc/init.d #
insmod /lib/modules/2.6.16.21-0.25-default/kernel/drivers/net/sundance.ko
dhclient eth1
When I startup my PC, The Internet Connection is not available
Verifing the routes I have:linux-bz01:/home/cepagi # ping 200.21.200.2
connect: Network is unreachable
For Obtain The Gateway I need with root Profilelinux-bz01:/home/cepagi # route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
linux-bz01:/home/cepagi # dhclient eth1
Internet Systems Consortium DHCP Client V3.0.3
Copyright 2004-2005 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP
Listening on LPF/eth1/00:08:54:db:c7:b3
Sending on LPF/eth1/00:08:54:db:c7:b3
Sending on Socket/fallback
DHCPREQUEST on eth1 to 255.255.255.255 port 67
DHCPACK from 10.0.0.138
bound to 10.0.0.2 -- renewal in 1432 seconds.
linux-bz01:/home/cepagi #route add default gw 10.0.0.138 is not possible, because is similar that static form.linux-bz01:/home/cepagi # route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 10.0.0.138 0.0.0.0 UG 0 0 0 eth1
linux-bz01:/home/cepagi #
linux-bz01:/home/cepagi # ping 200.21.200.2
PING 200.21.200.2 (200.21.200.2) 56(84) bytes of data.
64 bytes from 200.21.200.2: icmp_seq=1 ttl=249 time=62.1 ms
64 bytes from 200.21.200.2: icmp_seq=2 ttl=249 time=69.7 ms
64 bytes from 200.21.200.2: icmp_seq=3 ttl=249 time=69.7 ms
64 bytes from 200.21.200.2: icmp_seq=4 ttl=249 time=69.7 ms
Is possible to use other File for begin dhclient eth1 like boot.local ?
Thanks a lot


Reply With Quote