Here is an easy way to make use of IPv4 GRE tunnels in Ubuntu, or any other Debian based distro. You will need to edit /etc/network/interfaces. Here is a template with the information you will need to add: auto tun1 iface tun1 inet static address <tunnel IP> netmask <tunnel subnet mask> pre-up iptunnel add tun1 mode…
Tag: networking
Ubuntu 12.04 Server: Adding Vlan Tagging
Scenario We have a router/firewall with two NICs one used to connect to the Internet (WAN) and the other to connect to the local network (LAN). We would like to beef up the security aspect of our site and introduce a Demilitarized Zone (DMZ). If this should be implemented without the use of vlans we…
Ubuntu 12.04: Adding IP Addresses
Adding additional IP Addresses to Ubuntu 12.04 server x32. nano /etc/network/interfaces Add auto eth0:<PIC AN ID IE eth0:123> iface eth0:<PIC AN ID IE eth0:123> inet static address 192.168.1.52 netmask 255.255.255.0 network 192.168.1.0 broadcast 192.168.1.255 gateway 192.168.1.1 dns-nameserver 8.8.8.8 8.8.4.4 dns-search network.local run Service Networking restart then run ifconfig You Should see eth0 Link encap:Ethernet HWaddr…