This is an Urgent help, as everything pending, waiting.. a FreeBSD
and I appologize if I will explain in details, please be patient with
Just yesterday, our ISP installed 2 routers (both 3com) at our main
One router acting for Datalink between the office and the branch
One for the internet connection.(internet router)
one short cable connected from the internet router to datalink router
So everyone on the WAN has internet access which we donot want.
So we decided to have our FreeBSD 6.1-R server, managing all the job.
So I installed a FreeBSD box, with NATd enabled, this is how it works
Internet router <---> rl0 192.168.0.3 freebsd dc0 192.168.1.1 <--->
switch <---> all clinets
also a cat5 cable hookedup from the datalink router to the switch.
So the switch having the clinets+datalink router + lan freebsd cable.
The datalink router connected to the branch site also WAN.
the internet router has the following configurations.
IP 192.168.0.2 gateway 192.168.0.254
and the datalink configuration has the follow
WAN (branch site)
IPs of 192.168.2.xx gateway 192.168.0.254
ALL can ping each other and see each other..(if there is no freebsd
also wan works perfectly.. with no FreeBSD server..
Here is the problem
the problem when I configure my fbsd lan interface to 192.168.1.1
and my clinets will have the IP
192.168.1.x/24 with gateway 192.168.0.254
wthey will have the internet.. and will NOT see any datalink clients,
nor will see the WAN on the branch site. (diffrences of IPs and
because clinets directed to the fbsd server which regonize 192.168.0.254
If I configure my clients behind fbsd nat server to IPs of
192.168.0.x/24 and gateway 192.168.0.253 (Insted of 192.168.1.x and gw
they will see the datalink and wan but no internet.
How would I make all clinets have my fbsd lan ips 192.168.1.x/24
and freebsd will have the ability to see the two gateways
192.168.0.254 (internet router) and 192.168.0.253 (datalink router)
In short words, all clinets should be connected to FreeBSD server lan
but in the same time, freebsd will route and manage to the requests for
If i have rl0 to host my internet router real IP
and defautlrouter to the NAT ip, internet will not work.
ifconfig_rl0="inet 62.215.x.6 netmask 255.255.255.252"
defaultrouter="62.215.x.5" #internet router IP
but if i host my rl0 to 192.168.0.3
and defaultrouter to 192.168.0.254 (internet router gateway)
internet will work...
ifconfig_rl0="inet 192.168.0.3 netmask 255.255.255.0"
The first case, disabling nat from router and having it to freebsd only
second case, having the router to NAT and again freebsd doing another
Sorry Gurus for the long emails, excuse me, and waiting your reply asap.
FREE pop-up blocking with the new MSN Toolbar - get it now!
firstname.lastname@example.org mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"