Re: 2.2 network questions

kuznet@ms2.inr.ac.ru
Thu, 25 Feb 1999 22:12:48 +0300 (MSK)


Hello!

> 1) Aliased interfaces disappeared from /proc/net. "route" doesn't show
> aliased interfaces, instead it shows a parent one. At least one
> automatic firewalling script broke because of this - it got the IP
> addresses to pass through firewall basing on interface names from
> /proc/net/dev.

The only valid way to get IP addresses is ioctl(SIOCGIFCONF).
/proc/net/dev lists available hardware, rather than IP addresses.

> 2) "ifconfig down" (net-tools 1.50) on an aliased interface also brings
> the parent interface down. Ouch.

Please, explain. Only :-less down downs the interface. I cannot reproduce
the phenomenon. You sample with lo:1 does not down lo, certainly.
Well, I am puzzled... Is it possible, that nettools-1.50 strips suffix :1
itself???

> 4) diald refuses to work on 2.2. Maybe there is a patch to fix this? I
> know pppd-2.3.5 supports demand dialing, but diald has been working fine
> for over a year now, changing it to something new would take time..

To all that I know diald does not require patching and works equally
in 2.0 and 2.2. Well, try ftp://ftp.inr.ac.ru/ip-routing/diald-0.16.5-flb.tar.gz
It DOES work and it does not contain any fixes, specific to 2.2,
only some generic buglets.

> 5) Any known problems with gated due to changed aliased interface
> policy?

No new problems.

Pure gated-3.5.10 does not work with aliases both for 2.0 and for 2.2.
I hope, 3.5.11 will work. Stock gated-3.5.9 can be used both for 2.0 and 2.2,
for 2.2 patch ftp://ftp.inr.ac.ru/ip-routing/gated-3.5.10-*.dif.gz
is also available.

Alexey Kuznetsov

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/