D'oh!
Dave Germiquet
davegermiquet-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Wed Jan 9 20:12:14 UTC 2008
You dont by any chance know the GENTOO package that includes this binary.
On Jan 9, 2008 3:02 PM, Lennart Sorensen <lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org> wrote:
> On Wed, Jan 09, 2008 at 02:48:20PM -0500, Dave Germiquet wrote:
> > Ifconfig is obselete?
> >
> > I use it to find my ip address and I use it to define static ip
> > addresses manually, I also use it to display all my interfaces.
> >
> > Whats the new command? I guess im outdated :(
>
> ip addr - sets and displays ip addresses
> ip route - sets and displays routes (plain 'route' can't display lots of
> advanced routing info that is in use today)
> ip link - sets and displays interface link information
>
> ip addr and ip link essentially replace ifconfig. They also aren't
> cutting off interface names at 9 characters the way ifconfig does.
>
> For example:
> ifconfig eth0 down = ip link set eth0 down
> ifconfig eth0 multicast = ip link set eth0 multicast on
> ifconfig eth0 -multicast = ip link set eth0 multicast off
> ifconfig eth0 10.1.2.3 netmask 255.0.0.0 = ip addr flush dev eth0;ip addr add dev eth0 10.1.2.3/8
> ifconfig eth0 add 10.1.2.4/8 = ip addr add dev eth0 10.1.2.4/8
>
> It also replaces ifrename:
> ifrename -i eth0 -n ethdsl = ip link set eth0 name ethdsl
>
> And of course route:
> route add 10.0.0.0 netmask 255.0.0.0 dev eth0 = ip route add 10.0.0.0/8 dev eth0
>
>
> --
> Len Sorensen
> --
> The Toronto Linux Users Group. Meetings: http://gtalug.org/
> TLUG requests: Linux topics, No HTML, wrap text below 80 columns
> How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
>
--
The Toronto Linux Users Group. Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
More information about the Legacy
mailing list