admlinux wrote:
> hi Glynn,
> to expand on the scenario i am running dhcpcd on eth0 and here is my
> 'route -n'
> 192.168.2.1 0.0.0.0 255.255.255.255 UH 0 0 0 eth1
> 192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 1 eth1
> 24.64.42.0 0.0.0.0 255.255.255.0 U 0 0 1 eth0
> 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 2 lo
> and 'ipfwadm -Fl' default policy is accept
> and 'ipfwadm -Ol' default policy is accept
> and 'ipfwadm -Il' policies are:
> deny all 192.168.2.1 anywhere n/a
> deny all 127.0.0.0 anywhere n/a
> #note since i am getting the internet ip dynamically how do i solve this
> problem?
> #my thoughts are that i need to add 'route add default gw ipaddress
> eth0'
> #but since this is dynamic i am not real sure how to deal with this
> situation.
> #currently i am using /etc/init.d/network script to bring up the static
> routes
> #but am unsure howto fix it. it appears to me that the default gw is set
> since
> #i can ping from the console in any direction Internet or internal but
> again not
> #from internal to internet besides the ip on eth0. please correct me
> where my
> #reasoning is wrong. suggestions are appreciated.
> Glynn also please expand on ping issues. what do i set my dns rules to
> test
to make certain that icmp is my only problem? Since i am allowing all
forwardingfor masquerading as well as all outbound..how should my inbound
rules for
ipfwadm be to test that ping is the only problem? i might add i am able to
resolve from ipfwadm box addresses from internet as well but not from inside
the RFC 1918 network.
TIA
rick
>
> TIA
>
> rick
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]