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

Re: [Xen-users] network-route and vif-route setup help

  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "Md Mooktakim Ahmed" <mma@xxxxxxxxxxxxx>
  • Date: Tue, 28 Mar 2006 22:24:42 +0100 (BST)
  • Delivery-date: Tue, 28 Mar 2006 21:26:23 +0000
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Sorry about the delay everyone. I had some email troubles for the last week. 
its all
back to normal now.

Jason: The subnet for all my ip's is

Yura Pismerov: If i use 1:1 NAT, then from inside the domU's i will have to 
have a
different IP's then outside. i would like to have the same ip's as outside if 

Andreas Jellinghaus: I never heard of point to point. I don't know what it is. 
All the
information i could find in google wasn't too helpful, lots of ppp or PPPoE 
stuff. I did
find it in ifconfig man page though. Is there a howto anywhere? especially with 
Or maybe you could write a small howto maybe?

Steffen Heil: with 1and1 i get disconnect when i start xend. Which means dom0 
even get a chance to work. So all the domU's don't work either. I think xend 
start the
bridge with FFFFFFFFFFFF as MAC and then does a transfer. I think thats what 
kills the
connection. the switch drops the connection whenever it seems a different MAC. 
I have
read about ebtables though. reading as many howto's on it as i can.

Ralf Steenbock: Your reply seems promising. So I'll paste it here again:

> I had the same problems with my new provider a few days ago. For me it
> is working when I set
> echo 1 >/proc/sys/net/ipv4/ip_forward
> echo 1 > /proc/sys/net/ipv4/conf/eth0/proxy_arp
> in /etc/xen/scripts/network-route. /etc/xen/scripts/vif-route is
> unchanged. domUs have to be configured with the public IPs you got from
> your provider like the following:
> vif = [ 'ip=your.public.domu.ip' ]
> ip="your.public.domu.ip"
> netmask="your.domu.net.mask"
> gateway="your.providers.gateway.ip"
> After restarting you should see a line like the following in the output
> of "ip r" in your dom0:
> your.public.domu.ip dev vif1  scope link  src your.public.dom0.ip
> I hope that I did not forget anything.
> Good luck
> Ralf

what i don't understand is the "ip r" output. the src part. In the config the 
src ip
address wasn't specified. So does this get generated automatically? or did you 
public.dom0 for the ip= (not the one in vif)?

Once again, thanks to everyone who replied.
And sorry for the delay in reply, totally unintentional.

On Fri, March 24, 2006 3:52 am, Jason wrote:
> Your default route for your 82.x network is a 10.x address?  What is the 
> subnet mask of
> that 82.x network?
> --
> Jason
> The place where you made your stand never mattered,
> only that you were there... and still on your feet
> On Thu, 23 Mar 2006, Md Mooktakim Ahmed wrote:
>> Hello,
>> I have a dedicated server with 1and1.co.uk. Worst mistake i made. But i've 
>> committed
>> to this now. What i have is a dedicated server with centos 4.2 installed.
>> I install Xen 3.0 from the redhat installer. it installs fine. I boot into 
>> xen. But i
>>  loose my internet connection.
>> It seems 1and1 drops my network whenever the switch sees a MAC address other 
>> then my
>> eth0's MAC address. So bridge network is not possible.
>> I did try network-route and it boots up fine. I still have my internet 
>> connection.
>> But
>> the problem is my IP's.
>> It seems 1and1 won't sell me a subnet of IP's. When i want an ip they will 
>> give me a
>> random ip. They are not continious range. So thats another problem.
>> The problem with network-route is that there is no documentation (atleast i 
>> couldn't
>> find any). There are some information in the mailing lists.
>> What i want is for each domU's to have their own public IP's. i want to 
>> install a
>> firewall in dom0 and block everything except ssh. I tried shorewall.
>> i can create an alias interface with an IP that i own.
>> Since there isn't much howto's on network-route i don't exactly know what 
>> should go
>> in each domU's configs. I want to specify an IP for each domU. I also want 
>> to set the
>> gateway.
>> my network is a bit strange. My IP is for dom0. but the gateway 
>> is
>> the netmask is
>> This works for dom0.
>> But when i try to add the default gatway to on one of the domU 
>> i get
>> network is unreachable.
>> I really don't know what to do here.
>> I would like to be able to run few domU's.
>> I would appreciate any help.
>> Thank you.
>> _______________________________________________
>> 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

Website: http://www.mooktakim.com
email: mma@xxxxxxxxxxxxx

Xen-users mailing list



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