Hi, I'm trying to connect to my adsl modem/router using my ethernet device (intel e100) to do a debian net install. I've plugged in the cable and switched on the computer and the connection LED lights up on the router.
OK, so I've edited my /etc/interfaces file to read:
Code:
auto eth0
iface eth0 static
address 192.168.2.1
netmask 255.255.255.0
gateway 192.168.2.0
The network has DHCP enabled but I'm using static for now. Also you'll notice that I haven't added the 'broadcast' or 'network' options to the interface file I'm not exactly sure what IP's to put for those if they are required?
OK, I then done an 'ifup eth0' and get a response saying something like 'link up - full duplex' so it seems to be working, further to this I done a 'ifconfig' and eth0 is shown. OK, so I go to ping the router address (gateway) and after a few seconds delay I get destination host unreachable. When I check 'route' it shows 2 entries:
Code:
Destination Gateway Genmask Flags Metric Ref Use Iface
192.0.0.0 * 255.255.255.0 U 0 0 0 eth0
default 192.168.2.0 0.0.0.0 UG 0 0 0 eth0
Is the first entry the broadcast address? Anyway, you'll notice that Genmask is 0.0.0.0 on the default...shouldn't it be 255.255.255.0?
Ahh I'm confused please help.