LinuxQuestions.org
Visit Jeremy's Blog.
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 06-08-2005, 02:33 AM   #1
sirpelidor
Member
 
Registered: Oct 2003
Location: Madison
Distribution: mdk 8.2, 9.0, 9.2, slack 9.1
Posts: 403

Rep: Reputation: 30
newbie: lost internet whenever attempted to setup home network


Hi there,

Motive:
I want my mdk 9.2 act as a gateway to the internet. And have my laptop connect to my mdk box using a cross cable. So the laptop can gain access to the internet as well. Very basic home networking, but I kept run into problem.

Given:
-mdk box is connected to the internet through sbc yahoo dsl.
-dsl ip address change everytime i reconnect
-both eth0 and eth0 are detected and supported
-eth0 connect to the internet, setup method using pppoe
-eth1 of course, is for internal network

Problem:
lost internet connect whenever i try to configure eth1,
ifconfig does show my ppp0 is working...

e.g:
eth0 inet 10.0.0.10, bcast 10.0.255 rx, tx, interrupt
eth1 inet 192.168.1.2, bcast 192.168.1.255 rx, tx, interrupt
lo 127.0.0.1
ppp0 inet add: (gateway add from ISP), rx, tx, collisions,

based on ifconfig, i am -still- connecting to the internet, and I do see my dsl router's light is blinking, but I'm unable to use any of my internet application (mozilla, gaim, gnomeicu...etc)

As I follow most of the howto
(this is one of the site i follow: home-network-mini-howto )

i kept run into problem whenever i try to configure eth1's ip address, netmask, broadcast, and such.

My box was working fine before i configure eth1, now i had to do the "windoze" way --- backup, reinstall my mdk and start all over and hope things will work. But it doesn't.

It seems to be that my box works fine with only eth0, and its ok too with eth1, as long as i don't make any changes. but once i start edit eth1 then i lose internet again. I've been battle this thing for almost a week now, I am very tired of reading those howto, gave me all those terms and jargon, but none of those are really solving my problems

please help

Thank you
 
Old 06-08-2005, 05:18 AM   #2
fotoguy
Senior Member
 
Registered: Mar 2003
Location: Brisbane Queensland Australia
Distribution: Custom Debian Live ISO's
Posts: 1,291

Rep: Reputation: 62
Don't know of this will help much, make sure you don't add an address to the gateway setting of eth1(internal) of your MDK machine, if you have then your MDK computer wont know which direction to route data to the internet.

There is an easy to setup up the nic during boot-up with slackware so i say if should work for MDK as well, i haven't used MDK for a wile now. All you need to do is add a line to your /etc/rc.local file.

ifconfig eth1 192.168.1.2 netmask 255.255.255.0 up
 
  


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
Home network setup with network firewall/router Gates1026 Linux - Networking 4 01-17-2005 08:26 PM
Really lost in setting up home network webwolf70 Mandriva 2 09-22-2004 04:46 PM
Newbie setup for home server MasterCephus Linux - Newbie 1 07-21-2004 09:36 AM
How to setup home network(sharing adsl internet connection) faidzullah Linux - Newbie 2 10-14-2003 12:19 PM
Newbie wanna setup up a linux network on existing home network... marvc Linux - Networking 3 03-19-2003 09:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:19 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration