Visit the LQ Articles and Editorials section
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 11-03-2004, 04:55 PM   #1
Registered: Oct 2003
Location: Pico
Distribution: SUSE 9.1
Posts: 83

Rep: Reputation: 15
SUSE 9.1 internet sharing

i am having trouble accessing the internet through my gateway via my laptop (both SUSE).
after hours of scoring google i cannot see whats wrong.

both machines have firewalls turned off.
gateway machine has ip-forwarding turned on and no gateway ip adress.
it can ping google(using the hostname and an ip adress), and the laptop.

linux:/home/us # route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
imsnet-cl12-hg4 * UH 0 0 0 ppp0 * U 0 0 0 eth0
link-local * U 0 0 0 eth0
loopback * U 0 0 0 lo
default imsnet-cl12-hg4 UG 0 0 0 ppp0

laptop has no ip-forwarding and gateway machines ip adress as its gateway ip adress (:S), it cannot ping google(neither hostname or ip adress), but can ping the gateway machine.

btw to get kppp to work i cp'ed
/etc/ppp/peers/ppp -> /etc/ppp/peers/kppp
Old 11-03-2004, 06:16 PM   #2
LQ Guru
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
have you turned on NAT?
iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
Old 11-04-2004, 03:17 PM   #3
Registered: Oct 2003
Location: Pico
Distribution: SUSE 9.1
Posts: 83

Original Poster
Rep: Reputation: 15
thanks after that it i was able to ping from the laptop, so I turned on DNS client on the laptop and DNS server on the pc, and was able to browse google from konqueror.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Internet sharing help in suse 9.3 pro Be.Gurmeet.Be SUSE / openSUSE 1 07-23-2005 08:08 AM
internet connection sharing with suse 9.2 kkolo Linux - Networking 4 06-19-2005 07:24 PM
SUSE 8.2 Internet connection sharing Genjix Linux - Networking 1 01-09-2004 09:11 AM
internet connection sharing with SuSE 8.1 marsonist Linux - Networking 4 10-30-2002 12:06 PM
Internet Connection Sharing SuSE 8.0 Tezdread Linux - Networking 2 09-01-2002 05:39 AM

All times are GMT -5. The time now is 07:17 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration