habe aktuell 2 Router an meiner Netzwerkkarte:
10.0.2.254 Router fürs Internet (soll default werden)
10.0.2.1 Trusted Netzwerk mit den Netzen 192.168.0.0/16
und wenn ich mit folgender Config das Netzwerk betreibe kann ich sowohl vom Linux Rechner das Trusted-Netzwerk erreichen, sowie vom Trusted den Linux-Rechner
Code: Alles auswählen
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug eth0
iface eth0 inet static
address 10.0.2.6
netmask 255.255.255.0
network 10.0.2.0
broadcast 10.0.2.255
gateway 10.0.2.1
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 192.168.0.3
dns-search localnet.local
Code: Alles auswählen
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug eth0
iface eth0 inet static
address 10.0.2.6
netmask 255.255.255.0
network 10.0.2.0
broadcast 10.0.2.255
gateway 10.0.2.254
up route add -net 192.168.0.0 netmask 255.255.0.0 gw 10.0.2.1
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 192.168.0.3
dns-search localnet.local
Gruß
Olln
Sasa