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

Re: [Xen-users] Networking change in Xen unstable



On Fri, 8 Jul 2005, John Fairbairn wrote:

> Hello,
>   i would think that all you would need to so if thats the error you get
> is to enable ip forwarding in the dom0 kernel. Generally that is done
> with
>
> echo "1" > /proc/sys/net/ipv4/ip_forward
>
> if memory serves, I believe you have to reboot for this to take effect.

/proc is a viritual filesystem -- reboot and its' contents are lost..

If you want to make it "permanent", look into sysctl..

Hope this helps..

Carl

> > Hello,
> >
> > I'm now using Xen unstable, which works very nice.
> > For me it's generally more stable than 2.0 (no FPU problem now).
> >
> > I have noticed that veth0 and vif0.0 appear in net devices,
> > and veth0 is attached to xen-br0. Routing to the bridge network is
> > now through veth0, instead of xen-br0 like it used to be.
> >
> > The problem is, my iptables configuration (on dom0) complains
> > with this setup. This message appears in kernel log (dmesg):
> >
> >     Performing cross-bridge DNAT requires IP forwarding to be enabled
> >
> > I'm DNATting DNS requests from Internet to domU, and it doesn't work.
> >
> > Killing veth0 and assigning IP address to xen-br0 fix this problem:
> >
> >     # ifconfig veth0 0.0.0.0
> >     # ifconfig xen-br0 10.1.1.1 netmask 255.255.255.0
> >
> > Frontend net device is disabled in dom0 kernel .config.
> >
> > Could someone explain what is veth0 and its purpose?
> >
> > Thanks,
> > --
> > Takeshi
> >
> > _______________________________________________
> > Xen-users mailing list
> > Xen-users@xxxxxxxxxxxxxxxxxxx
> > http://lists.xensource.com/xen-users
> >
>
>
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
>

- --

"There are 10 types of people in the world: Those who understand binary
and those that don't."

$>whoami: Carl Holtje
$>mail holtje: cwh0803@xxxxxxxxxx
$>cu: http://www.cs.rit.edu/~cwh0803
$>whois holtje:
Segmentation Fault
$>

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.