>I've got my Linux box in my office setup to with a valid IP address
>(eg. eth0-208.15.109.37) that also has 2 aliases (eth0:0-192.168.100.5 and
>eth0:1-192.168.200.4).
First thing, I would definately recommend to ditch the NIC aliasing
and get (2) more NICs. This will greatly cuts down on NIC collisions
and allows the IPFWADM rulesets to also filter on a interface by
interface basis.
>When I dial in from the PPP client machine
>(192.168.200.9 is the IP assigned upon the connection) I want to be able
>to browse all of 192.168.100.xxx and 192.168.200.xxx or just
>192.168.xxx.xxx.
This is a IPFWADM forwarding issue where you are probably MASQing to
the other interfaces.
Try this:
- Next, if you want to interconnect ALL the subnets without
masquerading between them but DO masq to your Internet
connection, you need to something like the following
rules. But, to be honest, I think there might is be
something wrong with these rules. You'll have to try
some experimentation if these rules don't work.
ipfwadm -F -f
ipfwadm -F -p deny
#Rules for the ETH0 interface
ipfwadm -F -a -V 192.168.200.9 -D 192.168.100.0/24
ipfwadm -F -a -m -V 208.15.109.37
--David
.----------------------------------------------------------------------------.
| David A. Ranch - Remote Access/Linux/PC hardware [EMAIL PROTECTED] |
!---- ----!
`----- For more detailed info, see http://www.ecst.csuchico.edu/~dranch -----'
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For daily digest info, email [EMAIL PROTECTED]