configure internet through a router
I connect to Internet through VPN. I decided to put a router (D-Link
DI-604) to split the connection between several computers. I've
managed to make my Mac iBook to work OK with the new setup. Yet my
laptop with Debian refuses to connect to Internet.
The phenomenology is as follows:
1. I can connect to the router itself at http://192.168.0.1/, I can
establish/break connection between the router and my internet
provider.
2. Whenever I try to connect to the outside it fails. The brouser
(Firefox) says: "... could not be found. Please check the name and try
again."
3. The output of different commands are:
# ifconfig
eth0 Link encap:Ethernet HWaddr 00:0D:56:DC:30:0F
inet addr:192.168.0.105 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:12 errors:0 dropped:0 overruns:0 frame:0
TX packets:13 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1682 (1.6 KiB) TX bytes:2020 (1.9 KiB)
Interrupt:11
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:102 errors:0 dropped:0 overruns:0 frame:0
TX packets:102 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:6540 (6.3 KiB) TX bytes:6540 (6.3 KiB)
#killall dhclient
# dhclient
Internet Software Consortium DHCP Client 2.0pl5
Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.
All rights reserved.
Please contribute if you find this software useful.
For info, please visit http://www.isc.org/dhcp-contrib.html
Listening on LPF/eth0/00:0d:56:dc:30:0f
Sending on LPF/eth0/00:0d:56:dc:30:0f
Sending on Socket/fallback/fallback-net
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPACK from 192.168.0.1
skiped default router from dhcp server: 192.168.0.1
bound to 192.168.0.105 -- renewal in 302400 seconds.
#more /etc/dhclinet.conf
interface "eth0" {
send dhcp-client-identifier 1:00:0D:56:DC:30:0F;
send dhcp-lease-time 86400;
}
# netstat -r
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt
Iface
192.168.0.0 * 255.255.255.0 U 0 0 0
eth0
Alex.
Reply to: