Home » General » Support » *SOLVED* VEs with different subnets
Re: VEs with different subnets [message #14577 is a reply to message #14560] |
Mon, 02 July 2007 16:08 |
khorenko
Messages: 533 Registered: January 2006 Location: Moscow, Russia
|
Senior Member |
|
|
Thank you for the logs.
yes, my suggestion implied that 10.1.1.1 will route the packets from VEs also as it does for Hardware Nodes.
Well, if you want to set up another gateway for VEs then just try source base routing as dev already suggested.
# /sbin/ip rule add from 87.98.196.135 table 10
# /sbin/ip route add default dev eth0 via 87.98.196.129 table 10
This should do the trick i suppose. (you won't be forced to do this manually each time, when you get the commands consequence required to get it work, you can create a script with these commands).
If it won't work again, please, let me know, we'll think about the reasons. Or just provide an access to the node, it will take much less time to undestand and eliminate the problem.
ugo123 wrote on Mon, 02 July 2007 16:19 | titan:~# vzctl exec 101 ip r l
192.0.2.0/24 dev venet0 scope host
169.254.0.0/16 dev venet0 scope link
default via 192.0.2.1 dev venet0
titan:~#
(I really don't get the 192.0.2.0/24 that I've just seen from the route....)
|
This IP 192.0.2.1 is fake one, it's not used, venet is just a point-to-point conenction, so all the packets got to the venet0 inside a VE appeared on the venet0 interface on a Hardware Node and are routed further according to the rules on Hardware Node.
If your problem is solved - please, report it!
It's even more important than reporting the problem itself...
|
|
|
|
|
*SOLVED* VEs with different subnets
By: ugo123 on Sun, 01 July 2007 23:25
|
|
|
Re: VEs with different subnets
By: dev on Mon, 02 July 2007 07:29
|
|
|
Re: VEs with different subnets
By: ugo123 on Mon, 02 July 2007 08:31
|
|
|
Re: VEs with different subnets
By: dev on Mon, 02 July 2007 07:38
|
|
|
Re: VEs with different subnets
By: ugo123 on Mon, 02 July 2007 08:36
|
|
|
Re: VEs with different subnets
By: dev on Mon, 02 July 2007 08:52
|
|
|
Re: VEs with different subnets
By: ugo123 on Mon, 02 July 2007 09:13
|
|
|
Re: VEs with different subnets
|
|
|
Re: VEs with different subnets
By: ugo123 on Mon, 02 July 2007 12:01
|
|
|
Re: VEs with different subnets
By: ugo123 on Mon, 02 July 2007 12:19
|
|
|
Re: VEs with different subnets
|
|
|
Re: VEs with different subnets
By: ugo123 on Mon, 02 July 2007 17:17
|
|
|
Re: VEs with different subnets
By: ugo123 on Mon, 02 July 2007 20:13
|
|
|
Re: VEs with different subnets
|
|
|
Re: VEs with different subnets
By: ugo123 on Tue, 03 July 2007 09:25
|
|
|
Re: VEs with different subnets
By: ugo123 on Tue, 03 July 2007 09:26
|
|
|
Re: VEs with different subnets
|
|
|
Re: VEs with different subnets
By: dev on Tue, 03 July 2007 10:31
|
|
|
Re: VEs with different subnets
By: ugo123 on Tue, 03 July 2007 12:04
|
|
|
Re: VEs with different subnets
By: ugo123 on Tue, 03 July 2007 10:41
|
|
|
Re: VEs with different subnets
By: ugo123 on Mon, 02 July 2007 21:19
|
|
|
Re: VEs with different subnets
|
|
|
Re: VEs with different subnets
By: ugo123 on Tue, 03 July 2007 12:07
|
|
|
Re: VEs with different subnets
By: dev on Tue, 03 July 2007 12:08
|
|
|
Re: VEs with different subnets
By: ugo123 on Tue, 03 July 2007 12:39
|
|
|
Re: VEs with different subnets
By: ugo123 on Tue, 03 July 2007 12:59
|
|
|
Re: VEs with different subnets
|
|
|
Re: VEs with different subnets
By: ugo123 on Tue, 03 July 2007 14:48
|
|
|
Re: VEs with different subnets
|
|
|
Re: VEs with different subnets
By: ugo123 on Mon, 09 July 2007 12:51
|
|
|
Re: VEs with different subnets
|
|
|
Re: VEs with different subnets
|
Goto Forum:
Current Time: Mon Oct 14 10:45:00 GMT 2024
Total time taken to generate the page: 0.05718 seconds
|