Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Weird Xen Networking Issue
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Scorpion265
Tux's lil' helper
Tux's lil' helper


Joined: 05 May 2005
Posts: 129
Location: Kansas City, MO

PostPosted: Sat Dec 22, 2012 5:36 pm    Post subject: [Solved] Weird Xen Networking Issue Reply with quote

Hello all,

I've got Xen 4.2.1 running and am running into a strange networking issue with both PV and HVM servers. When I create a new server, I always have to run sysctl -p /etc/sysctl.conf to get networking run for the newly created VM. I don't know if I am missing a kernel option somewhere, or what. Here is what I have in sysctl.conf:

Code:

net.ipv4.ip_forward = 1
net.ipv4.conf.bond0.proxy_arp = 1
net.ipv4.conf.eth1.proxy_arp = 1
net.ipv4.conf.eth0.proxy_arp = 1

I wasn't sure if I needed proxy_arp on the devices that make up bond0, or bond0 itself. I've tried it with just bond0 and as the configuration shown with the same results. If you want to see my kernel config, I will post it as well.


Last edited by Scorpion265 on Sun Dec 23, 2012 1:06 am; edited 1 time in total
Back to top
View user's profile Send private message
Scorpion265
Tux's lil' helper
Tux's lil' helper


Joined: 05 May 2005
Posts: 129
Location: Kansas City, MO

PostPosted: Sat Dec 22, 2012 11:14 pm    Post subject: Reply with quote

I was off base on this. It seems like waiting about 5-10 minutes after a domU reboots, the network 'kicks in'. Anyone have any clue what could cause this? This is my xen networking setup:

eth0 and eth1 are bonded to create bond0
bond0 is added to bridge xenbr0
(vif-script vif-bridge bridge=xenbr0) is my network script in xen-config.sxp
Back to top
View user's profile Send private message
Scorpion265
Tux's lil' helper
Tux's lil' helper


Joined: 05 May 2005
Posts: 129
Location: Kansas City, MO

PostPosted: Sun Dec 23, 2012 1:05 am    Post subject: Reply with quote

Finally figured it out, it was the way my bond was setup. It was using round robin instead of adaptive load balancing.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum