OpenVZ Forum


Home » General » Support » dual nic environment
Re: dual nic environment [message #7460 is a reply to message #7394] Fri, 13 October 2006 17:50 Go to previous messageGo to previous message
rudal is currently offline  rudal
Messages: 20
Registered: July 2006
Junior Member
I forgot to add this warning message:

a = host node.

[root@a ~]# vzctl set 500 --ipadd 10.2.5.2
Adding IP address(es): 10.2.5.2
arpsend: 10.2.5.2 is detected on another computer : 00:d0:00:58:e0:00
vps-net_add WARNING: arpsend -c 1 -w 1 -D -e 10.2.5.2 eth0 FAILED
WARNING: Settings were not saved and will be resetted to original values on next start (use --save flag)
[root@a ~]#

Inside the VE:
[root@a ~]# vzctl enter 500
entered into VPS 500
-bash-3.00#
-bash-3.00# ifconfig
...omitted...
venet0:1 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:10.2.5.2 P-t-P:10.2.5.2 Bcast:10.2.5.2 Mask:255.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1


On another box in the same switch:
[root@b ~]# arp -a | grep 10.2.5
? (10.2.5.2) at 00:0E:0C:7F:0E:D6 [ether] on eth0
[root@b ~]#

00:0E:0C:7F:0E:D6 -> the mac address of eth1 box a.


=============================
on box a:

[root@a eth1]# more *
::::::::::::::
accept_redirects
::::::::::::::
1
::::::::::::::
accept_source_route
::::::::::::::
0
::::::::::::::
arp_announce
::::::::::::::
0
::::::::::::::
arp_filter
::::::::::::::
0
::::::::::::::
arp_ignore
::::::::::::::
0
::::::::::::::
bootp_relay
::::::::::::::
0
::::::::::::::
disable_policy
::::::::::::::
0
::::::::::::::
disable_xfrm
::::::::::::::
0
::::::::::::::
force_igmp_version
::::::::::::::
0
::::::::::::::
forwarding
::::::::::::::
1
::::::::::::::
log_martians
::::::::::::::
0
::::::::::::::
mc_forwarding
::::::::::::::
0
::::::::::::::
medium_id
::::::::::::::
0
::::::::::::::
proxy_arp
::::::::::::::
0
::::::::::::::
rp_filter
::::::::::::::
1
::::::::::::::
secure_redirects
::::::::::::::
1
::::::::::::::
send_redirects
::::::::::::::
1
::::::::::::::
shared_media
::::::::::::::
1
::::::::::::::
tag
::::::::::::::
0
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: private ip for host-to-ve communication only
Next Topic: *CLOSED* Security breach :: prctl vulnerability
Goto Forum:
  


Current Time: Mon Sep 08 19:55:34 GMT 2025

Total time taken to generate the page: 0.06365 seconds