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
  • Firewall [X]
  • Spam [X]
More tags (see all)

“We recently suffered a hosting crisis and turned to Bytemark for help. The staff were cool, calm and collected throughout. They offered a very high level of customer service. and enabled us to switch over 85 domains and 100s of email addresses in a very short space of time.”

Graham Cartwright
emediates

ExtrasThe Team

You get more than just a server - our free extras give you a robust hosting service.

The TeamThe Team

Find out about the experienced and excellent staff who make up the Bytemark team.

Control Panel

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