You are here:

Home > Support > Technical Documents > Public VLAN: Routed with Proxy ARP

Print this page

Technical Documents

Public VLAN: Routed with Proxy ARP

Let us assume the host is on a public VLAN 46.43.34.0/26 and has been given the IP of 46.43.34.10. The range 1.0.0.0/24 has been routed to 46.43.34.10.

For this setup:

  • IP forwarding needs enabling for virtual machine traffic to leave the machine. The guests can talk to each other without it enabled.
  • Proxy ARP needs enabling on tapN so the virtual machines can reach each other.
  • eth0 will only emit traffic from its own MAC address as all packets are routed.
  • Repeatedly assign 1.0.0.1 to tap interfaces with a peer address of the virtual machine’s IP (or use static routes).

This is what we do on our own virtual machine platform.

ProxyArp

The routing table on the host machine should look like:

	46.43.34.0/26 via eth0
	1.0.0.5 dev tap1
	1.0.0.6 dev tap2
	1.0.0.7 dev tap3
	1.0.0.0/24 dev null
	default via 46.43.34.1

The line “1.0.0.0/24 dev null” is best practise, but optional and not usually done.

Selected tags
  • Email [X]
  • Firewall [X]
More tags (see all)

“In five years, I cannot remember any downtime at all. Thank you Bytemark, for providing outstanding product and service. I have recommended you on many occasions and will continue to do so.”

Neil Wilson
businesswebsite.com

Built by handBuilt by hand

Because we build our servers by hand, you get high power, low cost, and excellent build quality.

Control Panel

A 4GiB dedicated server with RAID1 for £69.00 per month - control and isolation for less!

Managed HostingManaged Hosting

Get on with your business whilst we monitor, analyse and plan the future of your hosting.