Re: [RFC] ip / ifconfig redesign

2005-12-05 Thread Jeroen Massar
John Heffner wrote: > Jeroen Massar wrote: >> John Heffner wrote: >> >>> Jeroen Massar wrote: >>> >>>> I wonder how many RFC's it violates. An interface must only answer >>>> ARP's >>>> on the interface that it is c

Re: [RFC] ip / ifconfig redesign

2005-12-05 Thread Jeroen Massar
John Heffner wrote: > Jeroen Massar wrote: >> I wonder how many RFC's it violates. An interface must only answer ARP's >> on the interface that it is configured on, not anything else. > > Not true. See RFC 1122, section 3.3.4. The standard leaves this > deci

Re: [RFC] ip / ifconfig redesign

2005-12-05 Thread Jeroen Massar
Marc Singer wrote: > On Mon, Dec 05, 2005 at 09:01:00AM -0500, John W. Linville wrote: >> On Sat, Dec 03, 2005 at 10:33:32AM -0800, Ben Greear wrote: >> The association between IP addresses and links is already a bit murky. >> Reference the arp_announce sysctl for what I mean. I recall Dave M. >>

Re: [RFC] ip / ifconfig redesign

2005-12-05 Thread Jeroen Massar
John W. Linville wrote: > Of course, patches would be helpful... /sbin/ipadd #!/bin/sh ip addr add $1 dev lo /sbin/ipdel #!/bin/sh ip addr del $1 dev lo /sbin/ipactivate #!/bin/sh ip addr add $1 dev $2 /sbin/ipdeactivate #!/bin/sh ip addr del $1 dev $2 There are your 'patches'. Add -6'