lkml.org 
[lkml]   [1999]   [Feb]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: 2.2 network questions
    kuznet@ms2.inr.ac.ru wrote:

    > Hello!
    >

    Hi!

    >
    > > 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.
    >

    Hmm. Maybe there is a possibility to do some addition to 2.2 to list
    interface
    aliases in some special /proc file? Like /proc/aliases?
    The reason for this is that calling ioctl from e.g. perl is not, err,
    convinient :)

    I can live without /proc/aliases, although I would be a lot more happier
    person if
    they existed.

    The main 2.2 showstopper is changed firewall semantics - i.e. no way
    ipchains
    interface IP instead of interface name. This stops me from putting 2.2
    on
    PPP serving boxes, as well as poses even troubles on multihomed host,
    where I
    neither easily can get listed of interface aliases nor configure
    ipchains with an
    IP directly. :)

    >
    > > 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???
    >

    I'm not sure, but some people experienced this bug as well (there is a
    small thread
    about this on linux-kernel), and some guy posted a message this is known
    by
    developers and will be fixed in the next net-tools. So I'm waiting for
    them now.

    >
    > > 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.
    >

    Well, I installed the new version (0.98 made by some other guy than
    original
    author) and its working ok now. Stock 0.16 didn't, though, and kernel
    was
    constantly telling that it used some obsolete feature.

    >
    > > 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.
    >

    That is good news - I also hope your gii patch will make it into 3.5.x
    branch as
    well ;)

    --
    Best Regards
    Vladimir Ivaschenko

    -
    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/

    \
     
     \ /
      Last update: 2005-03-22 13:50    [W:0.025 / U:90.556 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site