Mam 2 karty sieciowe
Kod: Zaznacz cały
eth0 Link encap:Ethernet HWaddr ------
inet addr:192.168.0.224 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:44070 errors:0 dropped:0 overruns:0 frame:0
TX packets:14144037 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:6723473 (6.7 MB) TX bytes:2160807840 (2.1 GB)
Interrupt:41 Base address:0xe000
eth1 Link encap:Ethernet HWaddr -----
inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5261 errors:0 dropped:0 overruns:0 frame:0
TX packets:955 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1743361 (1.7 MB) TX bytes:113584 (113.5 KB)
Interrupt:16
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:31547910 errors:0 dropped:0 overruns:0 frame:0
TX packets:31547910 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:29232984094 (29.2 GB) TX bytes:29232984094 (29.2 GB)
route -n
Kod: Zaznacz cały
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 eth1
192.168.0.0 0.0.0.0 255.255.255.0 U 1 0 0 eth0
192.168.1.0 0.0.0.0 255.255.255.0 U 1 0 0 eth1
Kod: Zaznacz cały
PING wp.pl (212.77.100.101) from 192.168.0.224 eth1: 56(84) bytes of data.
.local (192.168.1.100) icmp_seq=1 Destination Host Unreachable
.local (192.168.1.100) icmp_seq=2 Destination Host Unreachable
.local (192.168.1.100) icmp_seq=3 Destination Host Unreachable
Kod: Zaznacz cały
ping -I eth0 wp.pl
PING wp.pl (212.77.100.101) from 192.168.0.224 eth0: 56(84) bytes of data.
64 bytes from www.wp.pl (212.77.100.101): icmp_req=1 ttl=248 time=6.23 ms
64 bytes from www.wp.pl (212.77.100.101): icmp_req=2 ttl=248 time=6.27 ms
I np ping -I eth0 192.168.1.100
Kod: Zaznacz cały
ping -I eth0 192.168.1.100
PING 192.168.1.100 (192.168.1.100) from 192.168.1.100 eth0: 56(84) bytes of data.
--- 192.168.1.100 ping statistics ---
8 packets transmitted, 0 received, 100% packet loss, time 7055ms
Będę wdzięczny za pomoc co mam zrobić

Pierwszy raz bawię się z routingiem.