| Subject: | Re: ifconfig "double" question.. |
| From: | Mike Gende <mgende,AT,gendesign,DOT,com> |
| Date: | Thu, 23 May 2002 17:56:59 +0200 |
| In-reply-to: | <1011212023.3c45def722346@www.dahlen.ws> |
Roberto Nibali wrote: > Hi, > > > cipcb6 Link encap:IPIP Tunnel HWaddr > > inet addr:192.168.65.1 P-t-P:192.168.60.1 Mask:255.255.255.255 > > UP POINTOPOINT NOTRAILERS RUNNING NOARP MTU:1442 Metric:1 > > RX packets:71041 errors:177 dropped:0 overruns:0 frame:177 > > TX packets:58704 errors:0 dropped:0 overruns:0 carrier:0 > > collisions:0 txqueuelen:100 > > RX bytes:6554944 (6.2 Mb) TX bytes:16514856 (15.7 Mb) > > > > cipcb6 Link encap:IPIP Tunnel HWaddr > > inet addr:192.168.65.1 P-t-P:192.168.60.1 Mask:255.255.255.255 > > UP POINTOPOINT NOTRAILERS RUNNING NOARP MTU:1442 Metric:1 > > > > Note there are two entries. This wasn't in order, there are several links >and > > Yes, someone f*cked something up. This occurs starting with a > certain amount of physical (read: announced) devices in the > kernel. I don't remember the number but I think it was something > crazy like 10. How many interfaces do you have? At the moment we only have 9. A partial output of the ip link show command: 1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue 2: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 100 3: eth1: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 100 4: cipcb0: <POINTOPOINT,NOARP,NOTRAILERS,UP> mtu 1442 qdisc pfifo_fast qlen 100 21: cipcb6: <POINTOPOINT,NOARP,NOTRAILERS,UP> mtu 1442 qdisc pfifo_fast qlen 100 23: cipcb25: <POINTOPOINT,NOARP,NOTRAILERS,UP> mtu 1442 qdisc pfifo_fast qlen 100 24: cipcb2: <POINTOPOINT,NOARP,NOTRAILERS,UP> mtu 1442 qdisc pfifo_fast qlen 100 25: cipcb15: <POINTOPOINT,NOARP,NOTRAILERS,UP> mtu 1442 qdisc pfifo_fast qlen 100 27: cipcb18: <POINTOPOINT,NOARP,NOTRAILERS,UP> mtu 1442 qdisc pfifo_fast qlen 100 The cipe links are given the same number as the location they connect to (stores), these happen to be using cipe at the moment. When they all do, the numbering will be more sequential. Speaking of sequential, I note the numbers via ip link show go from 4 to 21, etc. I've not used it before your post, is that what one would expect? > > Anyone ever see this? Again, it works, but I don't recall it on the old >box. > > Been there, seen that and vomited. That always hurts ;^) > The problem is not present if you use the appropriate tools to setup >networking > under Linux, > namely iproute2. > > ip link show > ip addr show I see that is true. So, this problem is with ifconfig? > Take care, > Roberto Nibali, ratz Thanks for looking at it. I note that now an entry is auto added as a route to not only the host at the other end (which I'm used to) to a route also for the hosts' LAN as well (which is new to me). Perhaps this has something to do with my double ifconfig also. Unless, that is, someone else tells me differently. Regards, Mike