WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] eth alias within guest

To: xen@xxxxxxxxxx
Subject: Re: [Xen-devel] eth alias within guest
From: Ian Pratt <Ian.Pratt@xxxxxxxxxxxx>
Date: Thu, 11 Dec 2003 23:02:44 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxxxx, Ian.Pratt@xxxxxxxxxxxx
Delivery-date: Thu, 11 Dec 2003 23:04:09 +0000
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: Your message of "Thu, 11 Dec 2003 13:37:07 PST." <3FD8E383.3040508@xxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
> I'm running xen and xenolinux from the xeno-1.1.bk tree and have a guest RH9 
> running as dom1.
> 
> When I try to add an alias, eth0:x, onto its existing eth0 I receive a 
> protocol not supported error.

Weird -- I can create aliases on a machine running RH9 on the
unstable tree just fine, and I don't think this code has changed
since 1.1. (see below).

Remember, if you want to use the alias in a domain other than
dom0 you'll need to poke an extra vfr rule down from dom0 to get
packets routed to the other domain correctly. (I haven't tested
that this actually works, but I think it should do). 

> I understand that xen only supports one network adapter at this
> time but should/does that affect the ability of the guest o/s(s)
> to alias their adapter?

Nope, should work...

Ian

[logged into domain 1]
bash-2.05# ifconfig eth0:x 10.10.10.10
bash-2.05# ifconfig
eth0      Link encap:Ethernet  HWaddr AA:00:00:C6:9B:33  
          inet addr:124.237.35.51  Bcast:128.232.47.255  Mask:255.255.240.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:664 errors:0 dropped:0 overruns:0 frame:0
          TX packets:569 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          RX bytes:60567 (59.1 Kb)  TX bytes:51258 (50.0 Kb)

eth0:x    Link encap:Ethernet  HWaddr AA:00:00:C6:9B:33  
          inet addr:10.10.10.10  Bcast:10.255.255.255  Mask:255.0.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:33 errors:0 dropped:0 overruns:0 frame:0
          TX packets:33 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:2890 (2.8 Kb)  TX bytes:2890 (2.8 Kb)


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

<Prev in Thread] Current Thread [Next in Thread>