Route:
InterfaceKód:Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.2.0 * 255.255.255.0 U 0 0 0 eth0 192.168.1.0 * 255.255.255.0 U 0 0 0 eth0 default 192.168.2.2 0.0.0.0 UG 0 0 0 eth0
Trochu jsem pozmenil ipiny viz obrazek.# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.2.4
netmask 255.255.255.0
gateway 192.168.2.2
dns 10.15.6.1
auto eth0:1
iface eth0:1 inet static
address 192.168.1.2
netmask 255.255.255.0
Mno ale proste se pres 192.168.2.4 nedostanu dal.





Odpověď s citací