On Fri, 1 Apr 2005 [EMAIL PROTECTED] wrote: > thanks for ur mail... > what u've suggested is alredy done.. > question was something else... > like... > > # how can i assign or specify that "eth0" [- means the ethernet card > connected with the DIAS having DHCP specified IP address each time its > boot] as a gateway to "eth1" [- which is 192.168.0.254]..? >
is it needed. you masquarade all ICMP packets with source as 192.168.0.0/24 from the squid box over the ppp0 link. that will solve it. --hizibiz > rgds, > somu > > > > hizibiz writes: > > > 1. In other machines of the network make 192.168.0.254 as the gateway. > > > > 2. in the squid box as root give > > > > echo "1" >> /proc/sys/net/ipv4/ip_forward > > > > 3. give an accept rule in the FORWARD chain of iptable to forward ICMP > > echo type packet (this is your home work). otherwise (very unwise) disable > > firewall in the squid box. > > > > --hizibiz > > > > > > > > On Fri, 1 Apr 2005 [EMAIL PROTECTED] wrote: > > > >> hello everyone!! > >> > >> plz help me or give me some pointers for the following situation. > >> > >> i am having (squid configured)linux box with two ethernet card within > >> which, > >> "eth0" is connected to DIAS(PPoE), which receives its IP address from a > >> DHCP > >> server from ISP end, > >> "eth1" is connected to local swtich having 192.168.0.254 as its IP > >> address. > >> > >> now, i am not able to "ping" any external IP address from my LAN just > >> because i'm not able to map "eth0" as a gateway of "eth1" since "eth0" > >> receives its IP address dynamically from the ISP end. > >> > >> how will i do that? > >> > >> thanks in advance.. > >> rgds > >> somu > >> > >> -- > >> To unsubscribe, send mail to [EMAIL PROTECTED] with the body > >> "unsubscribe ilug-cal" and an empty subject line. > >> FAQ: http://www.ilug-cal.org/node.php?id=3 > >> > > > > > > -- > > To unsubscribe, send mail to [EMAIL PROTECTED] with the body > > "unsubscribe ilug-cal" and an empty subject line. > > FAQ: http://www.ilug-cal.org/node.php?id=3 > > > -- > To unsubscribe, send mail to [EMAIL PROTECTED] with the body > "unsubscribe ilug-cal" and an empty subject line. > FAQ: http://www.ilug-cal.org/node.php?id=3 > -- To unsubscribe, send mail to [EMAIL PROTECTED] with the body "unsubscribe ilug-cal" and an empty subject line. FAQ: http://www.ilug-cal.org/node.php?id=3
