Bonjour,
Dans mon precedent post j'etais trop optimiste, pour un neophyte il y a la premiere question que sont les adresses IP, ca j'ai compris, mais il reste les routes.
eth0 Link encap:Ethernet HWaddr 00:60:67:44:06:44
inet addr:86.20.32.188 Bcast:255.255.255.255 Mask:255.255.252.0
inet6 addr: fe80::260:67ff:fe44:644/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1929 errors:0 dropped:0 overruns:0 frame:0
TX packets:2189 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1081674 (1.0 Mi
TX bytes:291090 (284.2 Ki
Interrupt:11 Base address:0xa000
eth1 Link encap:Ethernet HWaddr 00:E0:7D:E8:62
E
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::2e0:7dff:fee8:62de/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:163 errors:0 dropped:0 overruns:0 frame:0
TX packets:895 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:14707 (14.3 Ki
TX bytes:73506 (71.7 Ki
Interrupt:11 Base address:0x6000
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:349 errors:0 dropped:0 overruns:0 frame:0
TX packets:349 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:31524 (30.7 Ki
TX bytes:31524 (30.7 Ki
sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 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)
--- www.l.google.com ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1000ms
rtt min/avg/max/mdev = 36.297/42.937/49.578/6.643 ms
[root@Virgin-Broadband pierre]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
86.20.32.0 0.0.0.0 255.255.252.0 U 10 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 10 0 0 eth0
0.0.0.0 86.20.32.1 0.0.0.0 UG 10 0 0 eth0
[root@Virgin-Broadband pierre]# route add default gw 192.168.0.1
[root@Virgin-Broadband pierre]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 10 0 0 eth1
86.20.32.0 0.0.0.0 255.255.252.0 U 10 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 10 0 0 eth1
169.254.0.0 0.0.0.0 255.255.0.0 U 10 0 0 eth0
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth1
0.0.0.0 86.20.32.1 0.0.0.0 UG 10 0 0 eth0
A ce momment effectivement les pc ce voient et je pingue dans les deux sens
mais je n'ai plus internet.
[root@Virgin-Broadband pierre]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:60:67:44:06:44
inet addr:86.20.32.188 Bcast:255.255.255.255 Mask:255.255.252.0
inet6 addr: fe80::260:67ff:fe44:644/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6173 errors:0 dropped:0 overruns:0 frame:0
TX packets:7148 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4116218 (3.9 Mi
TX bytes:914456 (893.0 Ki
Interrupt:11 Base address:0xa000
eth1 Link encap:Ethernet HWaddr 00:E0:7D:E8:62
E
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::2e0:7dff:fee8:62de/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:925 errors:0 dropped:0 overruns:0 frame:0
TX packets:1203 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:79192 (77.3 Ki
TX bytes:102696 (100.2 Ki
Interrupt:11 Base address:0x6000
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:510 errors:0 dropped:0 overruns:0 frame:0
TX packets:510 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:48068 (46.9 Ki
TX bytes:48068 (46.9 Ki
Peut on faire simple et rajouter que quelques routes ou faut il faire du masquerage ?
Merci de prendre votre temps de lire mon petit probleme.