Find the answer to your Linux question:
Results 1 to 8 of 8
I have 2 pc's :1 which has suse 9.1 installed and the other has slackware 10.They are connected in a small home network.do you know how to share my isdn ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Engineer
    Join Date
    May 2003
    Location
    Greece / Athens
    Posts
    1,169

    Internet Connection Sharing


    I have 2 pc's :1 which has suse 9.1 installed and the other has slackware 10.They are connected in a small home network.do you know how to share my isdn connection so both pc's to have internet?
    any help appreciated!
    Linux For Ever!

  2. #2
    Linux Newbie
    Join Date
    May 2004
    Location
    Boston, MA
    Posts
    246
    If you can put 2 NICs in one of them, you can make it a gateway for the other using IP masquerading. Here's a pretty good FAQ on it:

    http://www.linuxhelp.net/guides/ipmasq/
    Situations arise because of the weather,
    And no kinds of love are better than others.

  3. #3
    Linux Guru loft306's Avatar
    Join Date
    Oct 2003
    Location
    The DairyLand
    Posts
    1,666
    see this...it is how to make a Linux Router,and as said above all it will cost you is a $14 or less nic http://www.linuxforums.org/forum/viewtopic.php?t=12424
    ~Mike ~~~ Forum Rules
    Testing? What's that? If it compiles, it is good, if it boots up, it is perfect. ~ Linus Torvalds
    http://loft306.org

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Engineer
    Join Date
    May 2003
    Location
    Greece / Athens
    Posts
    1,169
    the problem is that both pc's have an on board nic.what should i do in such case in order to share my internet connection?
    Linux For Ever!

  6. #5
    Just Joined!
    Join Date
    Jun 2004
    Location
    Leiria - Portugal
    Posts
    72

    Ipv4 forwardind

    Just enable ip forwarding and configure the correct default gateway to your client system.

    http://mirror.ipv.pt/LDP/HOWTO/Netwo...O-8.html#ss8.3

    ipforwarding aka masquerading
    also see NAT and IPTABLES for major lan security.

    See you.

  7. #6
    Linux Engineer
    Join Date
    May 2003
    Location
    Greece / Athens
    Posts
    1,169
    what should be the default gateway i have to put in the client system?
    Linux For Ever!

  8. #7
    Linux Newbie
    Join Date
    May 2004
    Location
    Boston, MA
    Posts
    246
    Whatever the IP address of your internet-connected machine is on the LAN.

  9. #8
    Linux Engineer
    Join Date
    May 2003
    Location
    Greece / Athens
    Posts
    1,169
    ok thanks.i'll try it and post if something goes wrong!
    Linux For Ever!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •