Package: netbase
Version: 4.21
Dear Developers
I found an error in debian's network configuration. I could realize this problem 3 times in 3 different configuration:
The 3 Configuration:
1: Dell PC
eth0: tulip
eth1: 8139too
2. Noname PC
eth0, eth1: 82139too
3. VMWare PC
eth0: pcnet32?
The installation:
The first and second configuration: Debian 3.1r1 base install CD, than continoue from
ftp.hu.debian.org, security.debian.org
Extra packages: kernel-image-2.6.8-686, squid, tcpdump, iptraf,
I configured the DSL connection with pppoeconf
The third configuration: only from Debian 3.1r1 base install CD (without Internet).
Extra package: kernel-image-2.6.8-686
I realized the following:
If my networking/interfaces looks so (or with pppoe plugin - it doesn't matter):
auto eth0
iface eth0 inet static
address 192.168.3.1
netmask 255.255.255.0
network 192.168.3.0
broadcast 192.168.3.255
Without a gateway!!! - (If I set the gateway there is nothing problem)
And I exec this: /etc/init.d/networking restart
The interface will be configured correctly, I can see it in output of ifconfig.
But the route command's output:
fw:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
#
There isnt any route rule in this. I have to use it this way, because my default gateway will be the DSL PPP connaction.
(UTP cable is connected, connection is OK. If I change the configuration to DHCP it works fine)
And an interesting thing: With debain 2.4.27 kernel it works fine. Only it is with 2.6 kernels (I tried: 2.6.8-2-386
, 2.6.8-3-386 and 2.6.8-3-686).
If you have any question please write me. I didn't know exactly this is a network or a kernel problem, but I think you do;)
Thanks,
Bye
Zoltan Laszlo
System Engeneer
LPI, CCNA