Home » Questions » Computers [ Ask a new question ]

Fool network interface into thinking it is connected

Fool network interface into thinking it is connected

I have a second NIC in my machine that I am using to create a subnet for a cluster of Xen VMs on my machine. Nothing really needs to be connected to this interface as no traffic ever needs to leave the subnet (all the Xen VMs are on the same physical machine). However, if I don't have a cable connected, the interface thinks it can't do anything and won't try to route any packets. The setup works fine when a cable is connected. Any suggestions always appreciated!

Asked by: Guest | Views: 284
Total answers/comments: 2
Guest [Entry]

I finally solved the problem by creating an alias of my NIC so I had two different IPs. I still need to configure the necessary iptables rules, but it seems to be working fine.
Guest [Entry]

"You need use own virtual bridge interfaсe, xenbr1 for example. Read about:
Xen Networking."