cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephan Seitz <s.se...@secretresearchfacility.com>
Subject acs 4.4.2 / wrong gateway in VirtualRouter
Date Wed, 11 Feb 2015 11:32:47 GMT
Hi all,

In an advanced zone, I've configured the following IP range for the
"system" "public" Label on VLAN Id 62.

Gateway     | Netmask         | VLAN      | Start-IP     | End-IP 
10.241.62.1 | 255.255.255.192 | vlan://62 | 10.241.62.10 | 10.241.62.62 


Additionally, I've added "Guest", "shared" Network:

Name     | Type   | VLAN ID | brodcast URI | IPv4 CIDR       
sharedv4 | Shared | 62      | vlan://62    | 10.241.62.64/26


Both /26 Networks are equipped with a gateway at 10.241.62.1 for the
"system" and 10.241.62.65 for the "guest" one.
Even if they're separated on L3, they indeed are on the same VLAN Id.

My Problem is: Most times a new "isolated" network spawns its new
VirtualRouter, the router's public IPv4 is located in the "sharedv4"
network, the gateway instead is configured to the "system" one.

That's the /proc/cmdline of a virtualrouter:

root=UUID=4cf8fced-9de4-47bd-834d-f14e2ddb36e2 ro debian-installer=en_US
quiet -- quiet console=hvc0%template=domP%name=r-1376-VM%
eth2ip=10.241.62.85%eth2mask=255.255.255.192%gateway=10.241.62.1%
eth0ip=10.1.1.1%eth0mask=255.255.255.0%domain=testing.infra%cidrsize=24%
dhcprange=10.1.1.1%eth1ip=169.254.3.199%eth1mask=255.255.0.0%type=router
%%dns1=195.10.208.2%dns2=91.198.250.2

For better reading:
eth2ip   = 10.241.62.85
eth2mask = 255.255.255.192
gateway  = 10.241.62.1

That gateway can't be reached from within 10.241.62.85/255.255.255.192

(All IP's are real public IP's I've just redacted the prefix to look
like RFC1918.)

Could someone please shed some light?

Maybe I did something wrong by separating the networks, but sharing them
on the same VLAN?

Hosts are XenServer 6.2.

Thanks!

- Stephan



Mime
View raw message