Re: can't set default route for virtual interface

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2011-12-30 at 00:27 +1300, Amos Jeffries wrote:
> On 28/12/2011 11:21 p.m., Andrew Beverley wrote:
> > On Tue, 2011-12-27 at 23:36 -0600, Lloyd Standish wrote:
> >>    I usually bring up interfaces with "ifup" when I can
> > Ah, therein lies an interesting situation. ifup is pretty old too, and
> > makes calls to the ifconfig command, which is a real pain. However,
> > unless someone tells me otherwise, I'm not aware of a replacement for
> > it.
> 
> That would be ...
> 
>    ip link set dev eth0 up
>    ip link set dev eth0 down

Yes :-)

Although that only really replaces the ifconfig part. It would be nice
to have a proper replacement for ifup/ifdown that does the rest of the
networking stuff, such as setting the ip address and calling scripts, as
is contained in /etc/network/interfaces. It'll also call pppd and so on
as well.

Andy


--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux