Using VLAN's with ISC-DHCP-SERVER

Using VLAN's with ISC-DHCP-SERVER

I decided I wanted to provide DHCP to two different VLAN's each with their own subnet, connected to the same network card in my default router. All packets arriving on that network jack are tagged for either one or the other VLAN. Initially I had trouble with the DHCP server only seeing packets on the root eth0 device and ignoring all the packets on the vlan devices (eth0.1 for instance.) There's a couple of changes I had to make for this to work. These instructions assume an Ubuntu server.

Read more
Posted by Tony on Feb 28, 2015 | Networking
Linux, iptables, SNAT and Too Many Adapters

Linux, iptables, SNAT and Too Many Adapters

I've had some weird glitches with my primary firewall this week. After a reboot, certain SNAT rules just didn't... happen. Or, other SNAT rules did. And it always seemed to only impact SIP traffic. For instance, after rebooting, SIP traffic from one internal phone server that's destined for another internal phone server at the other end of a VPN connection would spontaneously decide to SNAT itself to an external IP address, yet still go across the tunnel. Or, SIP traffic destined for the outside would decide to route correctly out the right adapter, but leave the private address on it, ignoring the SNAT rule I could plainly see in iptables.

Read more
Posted by Tony on Feb 19, 2015 | Networking, Network Security, Servers