default route wird nicht automatisch gesetzt
Moin zusammen,
ich habe schon wieder ein Problem(chen):
mein weit entfernter Etch-Server mit Kernel 6.8.23.17 hat nach einem
Reboot keine default route:
linux-srv:~# ip route sh
192.168.40.0/24 dev br0 proto kernel scope link src 192.168.40.200
192.168.41.0/24 dev eth1 proto kernel scope link src 192.168.41.200
Er hat zwei Netzwerkkarten, interessant ist für mich zunächst das 40er Netz.
Erst nach
route add default gw 192.168.40.254
bekomme ich
linux-srv:~# ip route sh
192.168.40.0/24 dev br0 proto kernel scope link src 192.168.40.200
192.168.41.0/24 dev eth1 proto kernel scope link src 192.168.41.200
default via 192.168.40.254 dev br0
Ich ahbe ein Stadard-Gateway für br0 eingetragen in
/etc/network/interfaces, deshalb verstehe ich das nicht....:
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet manual
pre-up ifconfig $IFACE up
post-down ifconfig $IFACE down
# Dieser Eintrag ist fuer die VirtualBox
auto tap0
iface tap0 inet manual
up ifconfig $iface 192.168.40.201 up
down ifconfig $iface down
tunctl_user boris
auto br0
iface br0 inet static
address 192.168.40.200
netmask 255.255.255.0
broadcast 192.168.40.255
gateway 102.168.40.254
bridge_ports eth0 tap0
########################################
# GBit Netzwerk
auto eth1
iface eth1 inet static
address 192.168.41.200
netmask 255.255.255.0
broadcast 192.168.41.255
Was mache ich denn da falsch bzw. wie kann ich das richten?
Grüße,
Boris
Reply to: