[quagga-users 8071] Re: Virtual interfaces / aliases supported?


https://lists.quagga.net/pipermail/quagga-users/2007-February/008074.html


[quagga-users 8071] Re: Virtual interfaces / aliases supported?

Seb sebqu at syntec.co.uk
Mon Feb 26 14:46:57 GMT 2007
Good to know it is working for you.
 
As I said (but more detail now), Linux version 2.6.16-2-686 (Debian
2.6.16-18) ... (Debian 4.0.3-6)
 
What are the names of your subinterfaces?
 
This may be relevant to my situation:  eth1:1 didn't appear in ifconfig, so
I tried the following:
 
$ <mailto:seb at thegw1:/etc/network$>  sudo ifup eth1:1
ifup: interface eth1:1 already configured
$ <mailto:seb at thegw1:/etc/network$>  sudo ifdown eth1:1
SIOCSIFFLAGS: Cannot assign requested address
$ <mailto:seb at thegw1:/etc/network$>  sudo ifup eth1:1
$ <mailto:seb at thegw1:/etc/network$>  Error : Name or service not known
Error : Name or service not known
Error : Name or service not known

Now eth1:1 appears in ifconfig and starts working again.  (The same
behaviour applies to eth1:2 BTW.)
 
Maybe I'll try this (virtual interfaces with Quagga) in Fedora...
 
Thanks.
 
Seb


  _____  

From: Pete [mailto:nyfors at gmail.com] 
Sent: 26 February 2007 14:34
To: Seb
Cc: quagga-users at lists.quagga.net
Subject: Re: [quagga-users 8069] Virtual interfaces / aliases supported?


Hi, atleast I have quagga running on machine with subinterfaces.
Distributing routes with ospf and bgp and everything works fine. Didn't do
enything special compared to normal subinterface configs when deployiong
quagga so I think there something else wrong with your config. What linux
are you using? 

~pete


On 2/26/07, Seb <sebqu at syntec.co.uk> wrote: 

Are virtual interfaces supported on Quagga v0.98.3 (on Debian GNU/Linux
2.6.16)?  (Zebra, OSPF and BGP) 

On Zebra, I have this in my config: 

interface eth1:1 
 link-detect 
 ipv6 nd suppress-ra 
! 

show interface shows: 

Interface eth1:1 is down 
  index -1 inactive interface 

If I then do a "no shutdown" on this interface from Zebra, I get: 

Interface eth1:1 is up, line protocol is up 
  index -1 inactive interface 

So it has added "line protocol is up" despite the interface not being
shutdown before.  Now I tried shutting the interface down via Zebra, but it
still said:

Interface eth1:1 is up, line protocol is up 
  index -1 inactive interface 

I noticed that it had shutdown the interface though.  I tried: 

# no shutdown 
Can't up interface 

Then restarting Quagga and show interface now showed: 

Interface eth1:1 is down 
  index -1 inactive interface 

I still can't unshut it down though. 

In zebra.log I get this when I try and do a no shutdown: 
2007/02/26 12:27:06 ZEBRA: can't set interface flags 

Am I doing something wrong, or are virtual interfaces just not supported?
Or has support been added / fixed since version 0.98.3?

Any suggestions? 

Many thanks, 

Seb 


_______________________________________________
Quagga-users mailing list
Quagga-users at lists.quagga.net
http://lists.quagga.net/mailman/listinfo/quagga-users




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.quagga.net/pipermail/quagga-users/attachments/20070226/14b9550e/attachment.htm


More information about the Quagga-usersmailing list

原文地址:https://www.cnblogs.com/ztguang/p/12644676.html