LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 11-03-2004, 04:55 PM   #1
Genjix
Member
 
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 * 255.255.255.255 UH 0 0 0 ppp0
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
link-local * 255.255.0.0 U 0 0 0 eth0
loopback * 255.0.0.0 U 0 0 0 lo
default imsnet-cl12-hg4 0.0.0.0 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
Demonbane
Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
have you turned on NAT?
Code:
iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
 
Old 11-04-2004, 03:17 PM   #3
Genjix
Member
 
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 64.179.4.149 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.
 
  


Reply


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/Novell 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 09:17 PM.

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