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.

“I've stayed with Bytemark over a few years mainly because of the great value for money, service and overall package you deliver. Now using Symbiosis all the fiddly little bits and pieces that used to confuse me are a thing of the past. It's great how it joins all the best UNIX software for the job and makes it so easy to set up.”

Michael Parker
Zanity

ExtrasThe Team

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

Control Panel

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

forumForum

Discuss server, system administration and hosting problems on our customer forum.