This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

routing between 2 internal networks



I'm having difficulty in establishing a 2nd
network within my LAN. My setup is basically
this:

Astaro:         eth1 66.1.2.3
                eth0 192.168.1.1

Network 1:      192.168.1.0/24
Network 2:      192.168.100.0/24

Host A:         192.168.1.10
Host B:         192.168.100.25

I'd like to have an opaque partition between
Hosts A and B in order to use Host B as
an untrusted "rogue host." Host A can have
whatever access it wants to Host B and Host A
can access the internet. Host B will have
limited access to Host A and can also access
the internet.

I thought this would be rather straightforward
but I've been having trouble. Here's what I've
done:

On Astaro I've created a static route:

192.168.100.0/24 dev eth0  scope link
192.168.1.0/24 dev eth0  scope link
66.1.2.3/24 dev eth1  scope link
66.1.2.3/24 dev eth1  scope link  src 66.1.2.1
127.0.0.0/8 dev lo  scope link

On Host A:
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0 eth0

On Host B:
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.100.0   0.0.0.0         255.255.255.0   U     0      0        0 eth0
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0 eth0



The problem is filtering any/all traffic from Host B to A doesn't
work and in doing a tcpdump on the Astaro I don't see any activity
between Host A and B. However, they _are_ communicating so it
doesn't look like the gateway is involved at all?

I'm at a total loss, but I'm not giving up... if anyone has any
input it'd be much appreciated.


Cheers,
-zeek


  


This thread was automatically locked due to age.
  • routing should be done with 2 internal nics.. in case you do not have another nic you should add an alias to eth0 with an IP from the 192.168.100.0 network and use this as gateway for the hosts in this net... 

    hth
    /marcel