Search This Blog

Sunday, October 16, 2005

Re: Subnets in Subnet

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Matthew Palmer wrote:
> Works Fine For Me. Lots of things can cause various problems, though, but
> you really need to describe a lot better what you're trying to do, and what
> "isn't working" means in this context if you want useful help.

My 2nd NIC has 3 ip's, 2 in the same net and the last net is for
printerserver. I skipped the 172.16.0.32/30-net, because experiences in
the past, tells me debian doesn't work well with the first...

- ----- /etc/network/interfaces --------------
# ETH2 - proxy (172.16.0.0/27)
iface eth2 inet static
address 172.16.0.1
netmask 255.255.255.224
network 172.16.0.0
broadcast 172.16.0.31

# ETH2:1 - dns (172.16.0.0/27)
iface eth2:1 inet static
address 172.16.0.2
netmask 255.255.255.224
network 172.16.0.0
broadcast 172.16.0.31

# ETH2 - print (172.16.0.36/30)
iface eth2:2 inet static
address 172.16.0.37
netmask 255.255.255.252
network 172.16.0.36
broadcast 172.16.0.39
- ----------------------------------------------

The print-server needs port 8000 and it open, i even tried to set the
FireWall complete open.

fw:~# iptables -L | grep '172.16.0.36/30'
ACCEPT tcp -- 172.16.0.36/30 anywhere tcp dpt:domain
ACCEPT tcp -- 172.16.0.36/30 anywhere tcp dpt:8000

I have of course checked cabels and etc...
- --
/Lars
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDUmHUSdVv6NOAbD4RAubCAJ99DF+4HdM9Yc9I7QV7n/z7/ro1bwCeOFt4
XxR+nsM+/h33grwkqa4og8I=
=bfK8
-----END PGP SIGNATURE-----

--
To UNSUBSCRIBE, email to debian-firewall-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

No comments: