<< | Thread Index | >> ]    [ << | Date Index | >> ]

Subject: Re: [gaio@sv.lnf.it: Strange... doubled interfaces!]
From: ewheeler,AT,kaico,DOT,com
Date: Thu, 1 Aug 2002 19:39:55 +0200
In-reply-to: <20020801151845.GA3806@sv.lnf.it>

Yep ... that happens.  There's a bug in ifconfig when you start getting
enough interfaces.  If the archives are up, search them for
iproute2.  In the 2.4 kernels, we're supposed to use the iproute2 suite
(which is rather reminiscent of cisco's pilgrim code).  I should probably
start using the new commands for routing and interface config, but alas, I
have not :).

Anyone out there know the iproute2 command to list interface
information?  My guess is, Marco, that you will see the interfaces
properly listed with the iproute2 commands.

Good luck!

--Eric

On Thu, 1 Aug 2002, Marco Gaiarin wrote:

> 
> Boh... i've sended yesterday and i've not seen on list today...
> 
> ----- Forwarded message from Marco Gaiarin <gaio,AT,sv,DOT,lnf,DOT,it> -----
> From: Marco Gaiarin <gaio,AT,sv,DOT,lnf,DOT,it>
> Date: Wed, 31 Jul 2002 18:21:07 +0200
> To: cipe-l,AT,inka,DOT,de
> Subject: Strange... doubled interfaces!
> Organization: La Nostra Famiglia - Polo FVG
> 
> 
> I've a 486 that do forewall and VPN for a local branch of my
> organization.
> 
> This morning was a potato (debian 2.2), kernel 2.4.18, cipe 1.5.2free-9
> (in unstable) recompiled for potato.
> 
> I've upgraded to woody (debian 3.0), recompiled the kernel (again
> 2.4.18) and cipe modules from again 1.5.2free-9, but recompiled for
> woody.
> [note that i've a similar machine at other end, but a P150]
> 
> Now:
> 
> fouc:~# ifconfig 
> cipcb7    Link encap:IPIP Tunnel  HWaddr   
>           inet addr:10.254.27.7  P-t-P:10.254.7.27 Mask:255.255.255.255
>           UP POINTOPOINT RUNNING NOARP  MTU:1442  Metric:1
>           RX packets:12 errors:3 dropped:0 overruns:0 frame:3
>           TX packets:13 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:100 
>           RX bytes:1744 (1.7 KiB)  TX bytes:1700 (1.6 KiB)
> 
> cipcb10   Link encap:IPIP Tunnel  HWaddr   
>           inet addr:10.254.27.10  P-t-P:10.254.10.27 Mask:255.255.255.255
>           UP POINTOPOINT RUNNING NOARP  MTU:1442  Metric:1
>           RX packets:148 errors:4 dropped:0 overruns:0 frame:4
>           TX packets:181 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:100 
>           RX bytes:18984 (18.5 KiB)  TX bytes:25212 (24.6 KiB)
> 
> cipcb1    Link encap:IPIP Tunnel  HWaddr   
>           inet addr:10.254.27.1  P-t-P:10.254.1.27 Mask:255.255.255.255
>           UP POINTOPOINT RUNNING NOARP  MTU:1442  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:100 
>           RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
> cipcb7    Link encap:IPIP Tunnel  HWaddr   
>           inet addr:10.254.27.7  P-t-P:10.254.7.27 Mask:255.255.255.255
>           UP POINTOPOINT RUNNING NOARP  MTU:1442  Metric:1
> 
> cipcb10   Link encap:IPIP Tunnel  HWaddr   
>           inet addr:10.254.27.10  P-t-P:10.254.10.27 Mask:255.255.255.255
>           UP POINTOPOINT RUNNING NOARP  MTU:1442  Metric:1
> 
> cipcb1    Link encap:IPIP Tunnel  HWaddr   
>           inet addr:10.254.27.1  P-t-P:10.254.1.27 Mask:255.255.255.255
>           UP POINTOPOINT RUNNING NOARP  MTU:1442  Metric:1
> 
> eth0      Link encap:Ethernet  HWaddr 00:50:BA:A9:28:7E  
>           inet addr:10.27.1.3  Bcast:10.27.1.255  Mask:255.255.255.0
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:149908 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:268196 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:613 txqueuelen:100 
>           RX bytes:10498550 (10.0 MiB)  TX bytes:397587664 (379.1 MiB)
>           Interrupt:11 
> 
> eth1      Link encap:Ethernet  HWaddr 00:20:AF:1C:27:48  
>           inet addr:192.168.1.2  Bcast:192.168.1.255 Mask:255.255.255.0
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:266383 errors:5 dropped:0 overruns:4 frame:5
>           TX packets:143296 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:1 txqueuelen:100 
>           RX bytes:397479109 (379.0 MiB)  TX bytes:9928184 (9.4 MiB)
>           Interrupt:10 Base address:0x300 
> 
> 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)
> 
> Note the double cipcb interfaces, but rather empty one.
> Routing are OK.
> 
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use 
>Iface
> 10.254.7.27     0.0.0.0         255.255.255.255 UH    0      0        0 
>cipcb7
> 10.254.1.27     0.0.0.0         255.255.255.255 UH    0      0        0 
>cipcb1
> 10.254.10.27    0.0.0.0         255.255.255.255 UH    0      0        0 
>cipcb10
> 10.254.10.0     10.254.10.27    255.255.255.0   UG    0      0        0 
>cipcb10
> 192.5.0.0       10.254.10.27    255.255.255.0   UG    0      0        0 
>cipcb10
> 192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth1
> 10.27.1.0       0.0.0.0         255.255.255.0   U     0      0        0 eth0
> 10.254.1.0      10.254.1.27     255.255.255.0   UG    0      0        0 
>cipcb1
> 192.0.0.0       10.254.10.27    255.255.255.0   UG    0      0        0 
>cipcb10
> 192.2.0.0       10.254.7.27     255.255.255.0   UG    0      0        0 
>cipcb7
> 10.254.7.0      10.254.7.27     255.255.255.0   UG    0      0        0 
>cipcb7
> 10.0.0.0        10.254.10.27    255.0.0.0       UG    0      0        0 
>cipcb10
> 0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0 eth1
> 
> And cipe works fine.
> 
> 
> What happens?!
> 
> [could be the promoiscuous mode of eth1?]
> 
> Thanks.
> 
> 

-- 

Eric Wheeler
Network Administrator
KAICO
20417 SW 70th Ave.
Tualatin, OR 97062
www.kaico.com
Voice: 503.692.5268





<< | Thread Index | >> ]    [ << | Date Index | >> ]