My BrazilFW:
local IP 192.168.0.1
DMZ:
Primary IP Address 10.0.1.1
and Netmask 255.255.255.0
(Optional) Secondary IP Address 10.0.2.1
and Netmask 255.255.255.0
(Optional) Tertiary IP Address 10.0.3.1
and Netmask 255.255.255.0
My WAMP is setup for a static IP of 10.0.1.2 (works well)
As for setting up the IP on the Ubuntu server here is what I've tried:
sudo bash
nano /etc/network/interfaces
Edit the file as follows:
- Código: Selecionar todos
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet static
address 10.0.1.3
netmask 255.255.255.0
network 192.168.0.1
broadcast 192.168.0.255
gateway 192.168.0.1
nano /etc/resolv.conf
- Código: Selecionar todos
nameserver 192.168.0.1
Then I try to reload with:
/etc/init.d/networking force-reload
and I get the following error and the nic doesn't work:
- Código: Selecionar todos
* Reconfiguring network interfaces...
SIOCADDRT: No such process
Failed to bring up eth0
Again any help is greatly appreciated.