Code: Alles auswählen
router:/etc/network# cat /var/log/messages | grep martian
Jan 13 18:02:59 router kernel: martian source 192.168.0.1 from 192.168.0.2, on dev eth0
Jan 13 18:02:59 router kernel: martian source 192.168.0.1 from 192.168.0.2, on dev eth0
Jan 13 18:02:59 router kernel: martian source 192.168.0.1 from 192.168.0.2, on dev eth0
Jan 13 18:02:59 router kernel: martian source 192.168.0.1 from 192.168.0.2, on dev eth0
Jan 13 18:02:59 router kernel: martian source 192.168.0.1 from 192.168.0.2, on dev eth0
Jan 13 18:02:59 router kernel: martian source 192.168.0.1 from 192.168.0.2, on dev eth0
Jan 13 18:02:59 router kernel: martian source 192.168.0.1 from 192.168.0.2, on dev eth0
Jan 13 18:03:00 router kernel: martian source 192.168.0.1 from 192.168.0.2, on dev eth0
Jan 13 18:03:00 router kernel: martian source 192.168.0.1 from 192.168.0.2, on dev eth0
Jan 13 18:03:00 router kernel: martian source 192.168.0.1 from 192.168.0.2, on dev eth0
Jan 13 18:03:06 router kernel: martian source 192.168.0.1 from 192.168.0.2, on dev eth0
Jan 13 18:03:11 router kernel: martian source 192.168.0.1 from 192.168.0.2, on dev eth0
Jan 13 18:03:14 router kernel: martian source 192.168.0.1 from 192.168.0.2, on dev eth0
Jan 13 18:03:19 router kernel: martian source 64.12.24.81 from 192.168.0.2, on dev eth0
Jan 13 18:03:25 router kernel: martian source 81.201.107.71 from 192.168.0.2, on dev eth0
Jan 13 18:03:31 router kernel: martian source 64.12.24.81 from 192.168.0.2, on dev eth0
Jan 13 18:03:35 router kernel: martian source 81.201.107.71 from 192.168.0.2, on dev eth0
Jan 16 15:57:11 router kernel: martian source 192.168.0.2 from 127.0.0.1, on dev ppp0
Jan 16 16:50:28 router kernel: martian source 192.168.0.2 from 127.0.0.1, on dev ppp0
Jan 16 16:55:03 router kernel: martian source 192.168.0.2 from 127.0.0.1, on dev ppp0
Jan 16 17:06:33 router kernel: martian source 80.228.65.136 from 127.0.0.1, on dev ppp0
Jan 16 18:04:19 router kernel: martian source 192.168.0.2 from 127.0.0.1, on dev ppp0
Jan 16 18:23:52 router kernel: martian source 80.228.65.136 from 127.0.0.1, on dev ppp0
Jan 16 18:43:06 router kernel: martian source 192.168.0.2 from 127.0.0.1, on dev ppp0
Jan 16 21:53:15 router kernel: martian source 192.168.0.2 from 127.0.0.1, on dev ppp0
Jan 16 21:59:23 router kernel: martian source 192.168.0.2 from 127.0.0.1, on dev ppp0
Jan 16 22:17:54 router kernel: martian source 80.228.81.5 from 127.0.0.1, on dev ppp0
die .0.2 ist die von Windows XP Rechner, dort ist einfach nur der gateway eingestellt auf die linuxkiste, also nix groß mit proxy etc
eth0 -> Zum Switch und auch Windows Kiste
eth1 -> Hängts DSL Modem dran
ifconfig sagt:
Code: Alles auswählen
router:/etc/network# ifconfig
eth0 Link encap:Ethernet HWaddr 00:08:54:08:FC:05
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3139 errors:0 dropped:0 overruns:0 frame:0
TX packets:3164 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:538195 (525.5 KiB) TX bytes:1853501 (1.7 MiB)
Interrupt:15 Base address:0x1000
eth1 Link encap:Ethernet HWaddr 00:30:1B:07:A9:60
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2369 errors:0 dropped:0 overruns:0 frame:0
TX packets:2201 errors:0 dropped:0 overruns:0 carrier:0
collisions:14 txqueuelen:1000
RX bytes:1674597 (1.5 MiB) TX bytes:461821 (450.9 KiB)
Interrupt:11 Base address:0x3000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
ppp0 Link encap:Point-to-Point Protocol
inet addr:80.228.81.5 P-t-P:212.6.119.158 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:2339 errors:0 dropped:0 overruns:0 frame:0
TX packets:2171 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:1621227 (1.5 MiB) TX bytes:412175 (402.5 KiB)
Hat jemand eine Idee wovon das kommt?
Und btw noch ne frage, kann ich auf eth1 irgendwie die ip vom provider kriegen, also like dhcp hab das noch nicht ausprobiert..
-Svenny-