On Monday 13 August 2001 15:35, jeric wrote:
Thank you for you suggestion, I tried what you suggested but recieved:
"SIOCADDRT: File exists"
then when i did a route -n i noticed that the flag was now 'ug' instead of 'u'
but that didnt work. i also noticed that route had my gateway listed as 24.27.146.1 but the ip on that card is really 24.27.146.21, so i also did: "route add default gw 24.27.146.21 eth0" but that didnt work, so i left that ip in and did a: "route del default gw 24.27.146.1 eth0" which removed the wrong(?) ip address of 24.27.146.1 and put in the correct ip address of 24.27.146.21 so, now the last line of the "route -n" table is:
destination gateway genmask flags metric ref use_iface 0.0.0.0 24.27.146.21 0.0.0.0 ug 0 0 0 eth0
I think you need to delete the above entry since it is not a 'default' entry. Not sure on that but it would be something to try. Here's what mine looks like on a ppp0 dial up line: 208.21.63.4 * 255.255.255.255 UH 0 0 0 ppp0 192.168.0.0 * 255.255.255.0 U 0 0 0 eth0 default 208.21.63.4 0.0.0.0 UG 0 0 0 ppp0
The rest of the table is the same. But, I still cant get out to the internet :(
: -----Original Message----- : From: Bruce Marshall [mailto:bmarsh@bmarsh.com] : Sent: Monday, August 13, 2001 2:01 PM : To: suse users : Subject: Re: [SLE] ip masquerading: internal ping each other but not : internet : : On Monday 13 August 2001 14:55, jeric wrote: : > firewall-1 /etc/resolve.conf: : > : > domain mmcable.com : > nameserver 24.94.227.33 : > nameserver 24.94.227.32 : > search mmcable.com : > : > --- : > I have also tried it without any settings in here (as it was : > initially). but, that didn't work either. : > : > Firewall-1 route -n: : > : > destination gateway genmask flags metric ref : : use_iface : : > 192.168.0.0 0.0.0.0 255.255.255.0 u 0 : : 0 0 eth1 : : > 24.27.146.0 0.0.0.0 255.255.254.0 u 0 : : 0 0 eth0 : : > 127.0.0.0 0.0.0.0 255.0.0.0 u 0 : : 0 0 lo : : > 0.0.0.0 24.27.146.1 0.0.0.0 u 0 : : 0 0 eth0 : : > === : : You don't have a gateway based on what you show above. : : Try: : : route add default gw 24.27.146.1 eth0 : : (assuming that 24.27.146.1 really is the far end of your cable/dsl : connection.) : : > Linux-1 /etc/resolve.conf: : > : > # generated by suse.config do not edit # : > search local : > : > --- : > Linux-1 route -n: : > : > destination gateway genmask flags metric ref : : use_iface : : > 192.168.0.0 0.0.0.0 255.255.255.0 u 0 : : 0 0 eth0 : : > 0.0.0.0 192.168.0.1 0.0.0.0 ug 0 : : 0 0 eth0 : : > thank you. : > : > : -----Original Message----- : > : From: kbb0927@cs.com [mailto:kbb0927@cs.com] : > : Sent: Monday, August 13, 2001 12:19 PM : > : To: suse-linux-e@suse.com : > : Subject: RE: [SLE] ip masquerading: internal ping each other but not : > : internet : > : : > : : > : What does your /etc/resolv.conf show? : > : What does route -n give? : > : : > : Regards, : > : : > : Keith : > : : > : "jeric"
wrote: : > : >I have 3 machines: firewall-1, linux-1, and win2k-1. linux-1 : > : : > : and win2k-1 can ping each other and can ping firewall eth1 (local : > : IP 192.168.0.1) and firewall-1 eth0 (cable modem IP, DHCP). But, : > : linux-1 and win2k-1 cannot ping the internet (i have tried : > : www.google.com and 216.239.35.100, neither work) : > : : > : >On firewall-1 I have tried it with the firewall off too, but the : > : : > : same thing happens. I have a default install of SuSE pro 7.0 on : > : : > : firewall-1 and i have made the following changes in /etc/rc.config: : > : >ip_forward= yes->no : > : >permission_security= easy local -> secure local : > : >passwd_use_cracklib= no->yes : > : >start_pcmcia= yes->no (its a desktop) : > : >start_httpd= yes->no : > : >start_portmap= yes->no : > : >check_inittab= yes->no : > : >fqhostname= linux.local -> newname.local (and i tried just : > : > 'newname') : > : > : > : >I tried the following both on and off, neither worked: : > : > : > : >start_named= no->yes :when this was set to yes (i tried it : > : : > : both ways) i also had the following: : > : > nameserver= "" -> 1.2.3.4 2.3.4.5 5.6.7.8 (they were the : > : : > : 3 DNS server ip's from my cable provider) : > : : > : > searchlist= local -> myisp.com : > : > : > : > : > : >For firewall-1 /etc/rc.config.d/rc.firewall.config i set the : : following: : > : >2(int) eth0 : > : >3(world) eth1 : > : >5(route) yes : > : >6(masq) yes : > : >12(dhclient) yes : > : >-the rest are the defaults : > : > : > : >On Linux-1 i set the ip address for static local (192.168.0.2) : > : : > : and a default install with office. no changes to rc.config : > : except what yast changed when i set up the NIC. : > : : > : >On win2k-1 i set the ip (192.168.0.3) mask (255.255.255.0) and : > : : > : gateway (192.168.0.1 -firewall-1 eth1) : > : : > : >i have the wiring as follows: : > : >cable modem -> firewall-1 eth0 | firewall-1 eth1 -> switch -> : > : : > : linux-1 eth0 : > : : > : > ... switch -> win2k-1 : > : > : > : >I have tried with and without DNS set up on the firewall-1 box, : > : : > : but neither way made any changes. can someone pleas help? what : > : do i need to do to get the internal to see the internet? I have : > : done alot of searching on the internet, but most was how to do it : > : without SuSEfirewal and without other SuSE config options. : > : : > : >thanks in advance. : > : : > : -- : > : To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com : > : For additional commands send e-mail to suse-linux-e-help@suse.com : > : : > : Also check the FAQ at http://www.suse.com/support/faq and the : > : archives at http://lists.suse.com : : -- : +----------------------------------------------------------------- : -----------+ : + Bruce S. Marshall bmarsh@bmarsh.com Bellaire, MI : 08/13/01 14:59 + : +----------------------------------------------------------------- : -----------+ : "Friends help you move. Real friends help you move bodies." : : -- : To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com : For additional commands send e-mail to suse-linux-e-help@suse.com : : Also check the FAQ at http://www.suse.com/support/faq and the : archives at http://lists.suse.com
-- +----------------------------------------------------------------------------+ + Bruce S. Marshall bmarsh@bmarsh.com Bellaire, MI 08/13/01 16:11 + +----------------------------------------------------------------------------+ Churchill's Commentary on Man: "Man will occasionally stumble over the truth," "but most of the time he will pick himself up and continue on"