Network Routing Question [message #10868] |
Tue, 06 March 2007 08:39  |
mperkel
Messages: 253 Registered: December 2006
|
Senior Member |
|
|
I have two sets of IP addresses on one network card and running FC6.
69.50.231.0/28
69.50.231.128/26
The problem is that IPs on different sets don't talk to each other. I want the host to be able to support VEs with IPs from both sets. I think I need some kind of static route. How dod I do that? Thanks in advance.
DEVICE=eth0
BOOTPROTO=none
HWADDR=00:18:F3:B3:CC:50
ONBOOT=yes
IPADDR="69.50.231.13"
NETMASK="255.255.255.240"
GATEWAY="69.50.231.1"
DEVICE=eth0:1
BOOTPROTO=none
HWADDR=00:18:F3:B3:CC:50
ONBOOT=yes
IPADDR="69.50.231.131"
NETMASK="255.255.255.192"
GATEWAY="69.50.231.129"
Junk Email Filter
http://www.junkemailfilter.com
[Updated on: Tue, 06 March 2007 08:41] Report message to a moderator
|
|
|
|
Re: Network Routing Question [message #10873 is a reply to message #10868] |
Tue, 06 March 2007 09:10   |
mperkel
Messages: 253 Registered: December 2006
|
Senior Member |
|
|
Thanks for the quick response. I figured I'd gave to create a route-eth0 file or something.
ip ro ls
69.50.231.4 dev venet0 scope link
69.50.231.240 dev venet0 scope link
69.50.231.7 dev venet0 scope link
69.50.231.3 dev venet0 scope link
69.50.231.8 dev venet0 scope link
69.50.231.0/28 dev eth0 proto kernel scope link src 69.50.231.13
69.50.231.128/26 dev eth0 proto kernel scope link src 69.50.231.131
169.254.0.0/16 dev eth0 scope link
default via 69.50.231.129 dev eth0 src 69.50.231.131
default via 69.50.231.1 dev eth0
ip a ls
2: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
4: sit0: <NOARP> mtu 1480 qdisc noop
link/sit 0.0.0.0 brd 0.0.0.0
6: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:18:f3:b3:cc:50 brd ff:ff:ff:ff:ff:ff
inet 69.50.231.13/28 brd 69.50.231.15 scope global eth0
inet 69.50.231.131/26 brd 69.50.231.191 scope global eth0:1
inet6 fe80::218:f3ff:feb3:cc50/64 scope link
valid_lft forever preferred_lft forever
3: venet0: <BROADCAST,POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1500 qdisc noqueue
link/void
Junk Email Filter
http://www.junkemailfilter.com
|
|
|
Re: Network Routing Question [message #10874 is a reply to message #10873] |
Tue, 06 March 2007 09:15  |
Andrey Mirkin
Messages: 193 Registered: May 2006
|
Senior Member |
|
|
Can you, please, try the following.
In VE with IP 69.50.231.7 run:
In VE0 run:
tcpdump -i venet0 host 69.50.231.240
In VE with IP 69.50.231.240 run:
tcpdump -i venet0 host 69.50.231.240
Andrey Mirkin
|
|
|