Can't add route!

The SethMeister (consp05@binghamton.edu)
Fri, 21 Mar 1997 06:19:53 -0500


I am cross posting this to the dhcp group and the kernel list...

Hi there,

I am trying to get my etherexpress 100 to work with DHCP, however in
order to do that, the dhcp client must be able to receive and broadcast
packets to the limited broadcast address 255.255.255.255. I have tried to
both manually add this with the route command and let the dhcp client do
it, but the error I get back is ENODEV. Check this out:

I have 2 interfaces, eth0 an ne2000 and eth1 an etherexpress pro 100 with
Don's 0.28 (latest) driver on Linux 2.1.29:

root@bergsoft[~] ifconfig eth1
eth1 Link encap:10Mbps Ethernet HWaddr
00:A0:C9:04:E8:65
inet addr:0.0.0.0 Bcast:0.0.0.0 Mask:0.0.0.0

BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0
errors:0 dropped:0 overruns:0
TX packets:0 errors:0 dropped:0
overruns:0
Interrupt:9 Base address:0xff80

root@bergsoft[~]
route add -host 255.255.255.255 dev eth1
SIOCADDRT: No such
device
root@bergsoft[~] route add -host 255.255.255.255 dev
eth0
root@bergsoft[~] route
Kernel IP routing table
Destination Gateway
Genmask Flags Metric Ref Use Iface
255.255.255.255 *
255.255.255.255 U 0 0 0 eth0
root@bergsoft[~]

As you can see, adding it to eth0 work FINE and I have been able to use
DHCP successfully in doing so.

Just in case this matters, the etherexpress (eth1) is connected to a
motorola cable modem (servie is from time warner::roadrunner).

Does anyone have a clue as to what could be wrong?

-Thanks,
Seth