Ubuntu Server with 2 NICs, help with routing

Roland Hill roland.lists at hillnet.co.nz
Sat Mar 22 22:58:34 UTC 2014


Hi list,

I'm running Ubuntu Server 13.10 on a Gigabyte Brix as a small home server.

It has onboard ethernet (p3p1, ubuntu's naming) and a USB ethernet adapter (eth0).

The aim is to have the server "sit" between my ADSL modem/router and my
network and run squid3 as a transparent caching proxy. The server already
runs dnsmasq for DNS and DHCP services.

I'll now do my best to simply describe the network:

ASDL router: WAN side, IP etc assigned by ISP (PPoA)
             LAN side, IP 10.0.0.1/255.255.0.0, no DCHP, DNS or wireless

(router is an all-in-one device, via Vodafone New Zealand)

Server: eth0, IP 10.0.0.2/255.255.0.0
        p3p1, IP 192.168.0.1/255.255.255.0

Clients: DHCP in range of 192.168.0.11 to 150, 255.255.255.0, assigned by
dnsmasq from the server. No hosts connect to the 10.* network. 

Other information:
- IPv4 forwarding is on (via /etc/sysctl.conf etc)
- Static route in the ADSL router is set, dest: 192.168.0.0/24, gw
  10.0.0.2, iface LAN/br0
- No iptable rules, apart from standard, have been configured.

Problem:
192.168.* clients cannot connect to the internet. Here is a cut from
traceroute -

roland at rh-mob:~$ traceroute 203.109.178.102
traceroute to 203.109.178.102 (203.109.178.102), 30 hops max, 60 byte
packets
 1  hillnet.localnet (192.168.0.10)  3.140 ms  3.542 ms  3.630 ms
 2  10.0.0.1 (10.0.0.1)  4.082 ms  4.681 ms  5.111 ms
 3  * * *
 4  * * *

..where rh-mob is a 192.168.* client.

I've googled, reached out to my local LUG and spoken with collegues, but
can seem to move forward. Any suggestions would be most appreciated.

The result is the same even if I use another ADSL modem/router (trying to
rule out if there were any issues with my Vodafone device).

Networking is not my "sweet spot"...

Let me know if I've missed any important relevant information.

Thanks.

-- 
Regards,

Roland

PGP Key 0xDA39319B = BCF0 1214 BAE9 5A3D 46FC 21A6 360D 9398 DA39 319B
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20140323/fe45f9f2/attachment.sig>


More information about the ubuntu-users mailing list