NATd newbi Problem.
Admin at kifco.net
Tue Dec 23 15:49:33 PST 2003
Its my first time to setup NAT and I wish someone to fix my bugs here.
I have a DSL Router Modem connected to Internet and FreeBSD box as follow
DSL-Router <--> <rl0>FreeBSD<rl1> HUB <-> 98,XP clients
DSL Router = 192.168.0.1
rl0 = 192.168.0.2
rl1 = 192.168.0.3
Problem is: rl0 cannot ping rl1 so clients cannot see rl1
I thought reason cuz both of the NIC's are in same class ? maybe?
So I changed the IP of rl1 to match 220.127.116.11
in this case rl0 (192.168.0.2) CAN see both ROUTER and rl1 (18.104.22.168)
But clients cannot see rl0 because they start to see rl1 class
because they are in same class.
in both cases BSD server can access thhe Internet normally because
its in same router class and correct conf.
well, im missed here.
rl0 and rl1 should be in same class? if yes? why they couldnot see each
other when they have same class?
should they be in diffrent claasses? if YES then clients how they will see
what rl1 should be in rc.conf?
This machine will act a gateway for clients cuz we need to controll
The follow is compiled in kernel:
Follow is in rc.conf
network_interfaces="rl0 rl1 lo0"
ifconfig_rl0="inet 192.168.0.2 netmask 255.255.255.0"
ifconfig_rl1="inet 22.214.171.124 netmask 255.255.255.0"
More information about the freebsd-questions