View previous topic :: View next topic |
Author |
Message |
thinair Tux's lil' helper
Joined: 01 Nov 2002 Posts: 144 Location: Suisse
|
Posted: Wed May 14, 2003 2:21 pm Post subject: Coupure hyper-régulière de connection ethernet |
|
|
Je me trouve en face d'un problème qui commence a m'énerver.
J'ai une passerelle/firewall sous gentoo de la forme :
Code: |
eth0 Link encap:Ethernet HWaddr 00:02:B3:B6:20:5D
inet addr:213.XXX.XXX.XXX Bcast:213.XXX:XXX.XXX Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6376 errors:0 dropped:0 overruns:0 frame:0
TX packets:429 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:412062 (402.4 Kb) TX bytes:63663 (62.1 Kb)
Interrupt:4 Base address:0xa400 Memory:cd000000-cd000038
eth1 Link encap:Ethernet HWaddr 00:02:44:63:8E:A8
inet addr:10.0.0.1 Bcast:10.255.255.255 Mask:255.0.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:30 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:1800 (1.7 Kb)
Interrupt:3 Base address:0x5000
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:220 errors:0 dropped:0 overruns:0 frame:0
TX packets:220 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:24861 (24.2 Kb) TX bytes:24861 (24.2 Kb)
tunl0 Link encap:IPIP Tunnel HWaddr
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)
|
1/ je ne vois pas ce que tunl0 vient foutre là... j'ai jamais rien configurer pour... la compile du kernel le rajoute ?
2/ la connection eth0 (l'ip est caché dans ce topic) fait que de s'arrêter chaque minutes, au mieux tiens quelques heures, j'ai rajouter dans le cron un /etc/init.d/net.eth0 chaque minute pour réappliquer les paramètres et ça a l'air de pas trop mal fonctionner... mais c'est pas idéal...
d'ou peut provenir ce problème ? d'un conflit ?
Code: |
cat /proc/pci
PCI devices found:
Bus 0, device 0, function 0:
Host bridge: VIA Technologies, Inc. VT8371 [KX133] (rev 2).
Prefetchable 32 bit memory at 0xd0000000 [0xdfffffff].
Bus 0, device 1, function 0:
PCI bridge: VIA Technologies, Inc. VT82C598/694x [Apollo MVP3/Pro133x AGP] (rev 0).
Bus 0, device 4, function 0:
ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South] (rev 34).
Bus 0, device 4, function 1:
IDE interface: VIA Technologies, Inc. VT82C586/B/686A/B PIPC Bus Master IDE (rev 16).
Master Capable. Latency=32.
I/O at 0xd800 [0xd80f].
Bus 0, device 4, function 2:
USB Controller: VIA Technologies, Inc. USB (rev 16).
IRQ 3.
Master Capable. Latency=32.
I/O at 0xd400 [0xd41f].
Bus 0, device 4, function 3:
USB Controller: VIA Technologies, Inc. USB (#2) (rev 16).
IRQ 3.
Master Capable. Latency=32.
I/O at 0xd000 [0xd01f].
Bus 0, device 4, function 4:
Host bridge: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 48).
IRQ 9.
Bus 0, device 4, function 5:
Multimedia audio controller: VIA Technologies, Inc. VT82C686 AC97 Audio Controller (rev 32).
IRQ 4.
I/O at 0xb800 [0xb8ff].
I/O at 0xb400 [0xb403].
I/O at 0xb000 [0xb003].
Bus 0, device 10, function 0:
Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100] (rev 12).
IRQ 4.
Master Capable. Latency=32. Min Gnt=8.Max Lat=56.
Non-prefetchable 32 bit memory at 0xcd000000 [0xcd000fff].
I/O at 0xa400 [0xa43f].
Non-prefetchable 32 bit memory at 0xcc800000 [0xcc81ffff].
Bus 0, device 11, function 0:
Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 17).
IRQ 10.
Master Capable. Latency=32. Min Gnt=16.Max Lat=40.
Prefetchable 32 bit memory at 0xcf800000 [0xcf800fff].
Bus 0, device 11, function 1:
Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 17).
IRQ 10.
Master Capable. Latency=32. Min Gnt=4.Max Lat=255.
Prefetchable 32 bit memory at 0xcf000000 [0xcf000fff].
Bus 0, device 12, function 0:
VGA compatible controller: ATI Technologies Inc 3D Rage Pro 215GP (rev 92).
IRQ 11.
Master Capable. Latency=32. Min Gnt=8.
Prefetchable 32 bit memory at 0xce000000 [0xceffffff].
I/O at 0xa000 [0xa0ff].
Non-prefetchable 32 bit memory at 0xcc000000 [0xcc000fff].
Bus 0, device 13, function 0:
Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 16).
IRQ 3.
Master Capable. Latency=32. Min Gnt=32.Max Lat=64.
I/O at 0x9800 [0x98ff].
Non-prefetchable 32 bit memory at 0xcb800000 [0xcb8000ff].
|
ou d'une mauvaise config du fichiers /etc/conf.d/net
Code: |
cat /etc/conf.d/net
# /etc/conf.d/net:
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/conf.d/net,v 1.7 2002/11/18 19:39:22 azarah Exp $
# Global config file for net.* rc-scripts
# This is basically the ifconfig argument without the ifconfig $iface
#
iface_eth0="213.XXX.XXX.XXX broadcast 213.XXX.XXX.255 netmask 255.255.255.0"
iface_eth1="10.0.0.1 broadcast 10.255.255.255 netmask 255.0.0.0"
# For DHCP set iface_eth? to "dhcp"
# For passing options to dhcpcd use dhcpcd_eth?
#
#iface_eth0="dhcp"
#dhcpcd_eth0="..."
# For adding aliases to a interface
#
#alias_eth0="192.168.0.3 192.168.0.4"
# NB: The next is only used for aliases.
#
# To add a custom netmask/broadcast address to created aliases,
# uncomment and change accordingly. Leave commented to assign
# defaults for that interface.
#
#broadcast_eth0="192.168.0.255 192.168.0.255"
#netmask_eth0="255.255.255.0 255.255.255.0"
# For setting the default gateway
#
gateway="eth0/213.XXX.XXX.XXX" //caché, mais c'le gateway de mon provider sur eth0
|
Code: |
#route -vn
Destination Gateway Genmask Flags Metric Ref Use Iface
213.XXX.XXX.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
10.0.0.0 0.0.0.0 255.0.0.0 Ua 0 0 0 eth1
0.0.0.0 213.XXX.XXX.XXX (gateway) 0.0.0.0 UG 1 0 0 eth0
|
Merci infiniment de votre aide.... _________________ http://www.gentoofr.org
Le site francophone de GNU/Linux Gentoo |
|
Back to top |
|
|
sebweb Apprentice
Joined: 29 Jan 2003 Posts: 220 Location: Bordeaux - France
|
Posted: Wed May 14, 2003 3:13 pm Post subject: |
|
|
Y a des trace dans les logs ? |
|
Back to top |
|
|
thinair Tux's lil' helper
Joined: 01 Nov 2002 Posts: 144 Location: Suisse
|
Posted: Wed May 14, 2003 3:27 pm Post subject: |
|
|
Rien d'interessant dans les logs si ce n'est que mon firewall refuse toutes connection norfc1918 sur eth0... mais je pense avoir une piste....
quand je fais un traceroute d'un site quelconque, la connection passe par 10.10.10.1 (ip non accepté par iptables normalement) qui n'est pas une ip de mon réseaux... mais une ip utilisé par tunl0 (je suppose)
Je pense que le problème ce situe là... mais j'arrive pas a supprimer tunl0 ipip... et je vois pas comment c'est venu dans ma config... bizarre
Code: |
# iptunnel show tunl0
tunl0: ip/ip remote any local any ttl inherit nopmtudisc
# iptunnel del tunl0
ioctl: Operation not permitted
|
comment faire pour enlever tunl0... et surtout comment ça se fait que ma connection passe par là....
Code: |
traceroute openvs.com
traceroute to openvs.com (62.220.128.220), 30 hops max, 40 byte packets
1 10.10.10.1 (10.10.10.1) 6.342 ms 6.482 ms 6.919 ms
2 213.XXX.XXX.XXX (213.XXX.XXX.XXX) (UNE IP du réseaux de mon provider, surement une passerelle) 8.836 ms 8.963 ms 6.868 ms
|
Merci d'avance... _________________ http://www.gentoofr.org
Le site francophone de GNU/Linux Gentoo |
|
Back to top |
|
|
sebweb Apprentice
Joined: 29 Jan 2003 Posts: 220 Location: Bordeaux - France
|
Posted: Wed May 14, 2003 3:50 pm Post subject: |
|
|
tunl0 est utiliser pour les connection en tunnel
Par exemple quand tu fait de l'ipv6 ( pas tout le temps mais souvent )
Tu serait pas chez nérim pas hasard toi ? |
|
Back to top |
|
|
thinair Tux's lil' helper
Joined: 01 Nov 2002 Posts: 144 Location: Suisse
|
Posted: Wed May 14, 2003 3:54 pm Post subject: |
|
|
ok.. faudra que je lise la doc un jours...
mais bon j'ai pas trop le temps now... j'ai des exa de maturité ( un peu comme le bac en france)
j'ai vu que j'avais compilé support de IP : tunneling en hard... je recompile avec en module... peut-etre que j'arriverais comme ça à le supprimer
j'habite en suisse sur une connection netplus (cablecom), je crois pas qu'il y ai l'ipv6 _________________ http://www.gentoofr.org
Le site francophone de GNU/Linux Gentoo |
|
Back to top |
|
|
sebweb Apprentice
Joined: 29 Jan 2003 Posts: 220 Location: Bordeaux - France
|
Posted: Wed May 14, 2003 4:01 pm Post subject: |
|
|
Effectivement ca peut venir de tes options de compilations |
|
Back to top |
|
|
thinair Tux's lil' helper
Joined: 01 Nov 2002 Posts: 144 Location: Suisse
|
Posted: Wed May 14, 2003 4:17 pm Post subject: |
|
|
Et bien, tunl0 a disparu... d'après ce que j'ai pu voir il se met par défaut dès qu'on load ipip... donc c'peu probable que ça vienne de ça...
Par contre l'ip 10.10.10.1 semble être normal et être utilisé par mon provider... bizarre donc j'ai rajouté cette ip au ip autorisé....
on verra pour la suite si ça coupe toujours... _________________ http://www.gentoofr.org
Le site francophone de GNU/Linux Gentoo |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|