I have a SPARC 5 that I am trying to get a second NIC configured and running
on. The interface file looks like:

# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

# The loopback interface
auto lo
iface lo inet loopback

# The first network card - this entry was created during the Debian
installation
# (network, broadcast and gateway are optional)
auto eth1
iface eth1 inet static
        address 10.0.0.2
        netmask 255.255.225.0
        broadcast 10.0.0.255
        gateway 10.0.0.254
        network 10.0.0.0

auto eth0
iface eth0 inet static
        address 192.168.1.254
        netmask 255.255.255.0
        broadcast 192.168.1.255
        network 192.168.1.0

After the system comes up the route table looks like:

Router:~# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
10.0.0.0        0.0.0.0         255.0.0.0       U     0      0        0 eth1

Question: Why is the default route being missed from the interfaces file on
the 10.0.0.0 network? On my other Debian box the route table is being set
right. What am I missing?

David

Reply via email to