Thread View: alt.fr.os.freebsd
1 messages
1 total messages
Started by MD
Sat, 27 Sep 2003 15:26
FREEBSD tunnel IP j'suis mal pris
Author: MD
Date: Sat, 27 Sep 2003 15:26
Date: Sat, 27 Sep 2003 15:26
50 lines
3255 bytes
3255 bytes
Salut,
J'ai une connection ADSL et un subnet. La connection est ok, le subnet
est ok, j'ai un reply au ping sur le gateway du tunnel. J'utilise
IPFW et j'ai plac� le firewall en open
ipfw flush
ipfw add allow all log from any to any
mon ifconfig
============
rl0 est l'interface pour le modem ADSL
rl1 est l'interface locale
Ici j'ai gard� la premi�re IP_FIXE_PUBLIQUE/28
les autres sont ajout�es � rl1 comme alias avec un masque
255.255.255.255
rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet6 fe80::240:5ff:fe84:526e%rl0 prefixlen 64 scopeid 0x1
ether 00:40:05:84:52:6e
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
rl1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet IP_FIXE_PUBLIQUE.128 netmask 0xfffffff0 broadcast
IP_FIXE_PUBLIQUE.143
inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255
ether 00:40:05:83:3a:79
media: Ethernet autoselect (10baseT/UTP)
status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
inet 127.0.0.1 netmask 0xff000000
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1452
inet IP_PUBLIQUE_ADSL --> GATEWAY_ADSL netmask 0xffffffff
Opened by PID 53
gif0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1400
tunnel inet IP_PUBLIQUE_ADSL --> AUTRE_GATEWAY_ADSL
inet 10.253.0.50 --> 10.253.0.49 netmask 0xfffffffc
Pourquoi je vois pas de packets pour IP_FIXE_PUBLIQUE.* arriver par le
tunnel?
Pourquoi lorsque je fais un ping sur 10.253.0.49 je vois dans mes logs
du firewall ".... P:4 from IP_PUBLIQUE_ADSL to GATEWAY_ADSL via tun0"
?
Comment je dois faire pour que les packets de gif0 route sur rl1 de
mani�re bidirectionnelle?
Et finalement qu'est ce que j'ai mal fais?
MD
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads