Hi everyone,
i'm new setting up a small network office, and I have a problem with the configuration of the net.
This its the sch.
I have a server with two NIC, one for external (building floor) net and another for the office net.
I have the external NIC (eth1) with IP=172.19.2.1/16 conect to a router with IP=172.19.1.1 on the floor. The route is the GW for the entire floor.
I try to create a private net for the office on the internal NIC (eth0) with IP=192.168.10.1/24.
/etc/network/interface look like this
auto eth0
iface eth0 inet static
address 192.168.10.1
netmask 255.255.255.0
broadcast 192.168.10.255
auto eth1
iface eth1 inet static
address 172.19.2.1
netmask 255.255.0.0
broadcast 172.19.255.255
gateway 172.19.1.1
Routing Table settings look like this
192.168.10.0 * 255.255.255.0 eth0
172,19.0.0 * 255.255.0.0 eth1
0.0.0.0 172.19.1.1 255.255.0.0 eth1
my lapt NIC have this config IP=192.168.10.11 GW 192.168.10.1
from the server i see 172.19.1.1 and 172.16.1.3 (dns server) that is found behind 172.19.1.1 (floor router) (** i also see www.google.com **)
from my lapt i can see both NIC on server, 192.168.10.1 (internal) and 172.19.2.1 (external)
but, from my lapt i cant see 172.16.1.3 (and www.google.com)...
if my server see 172.16.1.3 (and www.google.com) the route table is correct, so, my lapt must see 172.16.1.3, but not, so i don't undertands what i do wrong..
Please, can anybody help !
Thanks
i'm new setting up a small network office, and I have a problem with the configuration of the net.
This its the sch.
I have a server with two NIC, one for external (building floor) net and another for the office net.
I have the external NIC (eth1) with IP=172.19.2.1/16 conect to a router with IP=172.19.1.1 on the floor. The route is the GW for the entire floor.
I try to create a private net for the office on the internal NIC (eth0) with IP=192.168.10.1/24.
/etc/network/interface look like this
auto eth0
iface eth0 inet static
address 192.168.10.1
netmask 255.255.255.0
broadcast 192.168.10.255
auto eth1
iface eth1 inet static
address 172.19.2.1
netmask 255.255.0.0
broadcast 172.19.255.255
gateway 172.19.1.1
Routing Table settings look like this
192.168.10.0 * 255.255.255.0 eth0
172,19.0.0 * 255.255.0.0 eth1
0.0.0.0 172.19.1.1 255.255.0.0 eth1
my lapt NIC have this config IP=192.168.10.11 GW 192.168.10.1
from the server i see 172.19.1.1 and 172.16.1.3 (dns server) that is found behind 172.19.1.1 (floor router) (** i also see www.google.com **)
from my lapt i can see both NIC on server, 192.168.10.1 (internal) and 172.19.2.1 (external)
but, from my lapt i cant see 172.16.1.3 (and www.google.com)...
if my server see 172.16.1.3 (and www.google.com) the route table is correct, so, my lapt must see 172.16.1.3, but not, so i don't undertands what i do wrong..
Please, can anybody help !
Thanks