I have a strange problem.  Here is my setup.
 
 
ISP 1                    ISP 2
  |                            |
Router 1                Router 2
192.168.0.1           Internet Address A
  |                            |
  |                            |
  ----------------------  Switch --------------------       
  |                            |                        |
FreeBSD1         FreeBSD2               Windows 2000
192.168.0.254   192.168.0.2             192.168.0.253
                        Internet Address B
                        (NAT)
 
The problem is if NAT on FreeBSD2 is not running, all the machines can ping each other.
 
If FreeBSD2 runs NAT, ping still works, except FreeBSD2 can't ping Router1 
(192.168.0.1) and FreeBSD1 (192.168.0.254). FreeBSD2 can ping to the interent fine.
 
The Windows 2000 machines gets it's IP from DHCP running on FreeBSD2.  For a day, 
FreeBSD can't ping Windows 2000 either.  But now it is able to.
 
The NAT configuration on FreeBSD2 is :
 
/sbin/natd -u -a (xxx.xxx.xxx.xxx Internet Address B)
/sbin/ipfw -f flush
/sbin/ipfw add divert natd all from any to any via (xxx.xxx.xxx.xxx Internet Address B)
/sbin/ipfw add pass all from any to any

The unusual setup is the FreeBSD2 only has one ethernet card, and is doing IP aliasing.
 
I have another setup with 2 FreeBSD boxes, and one or both of them are doing NAT, and 
doesn't have this 'one way' ping problem.
 
Thanks in advance.
 
Shu 
 
 
 
 
 

                
---------------------------------
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to