Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Ubuntu Help > [SOLVED] local lan works only when dsl is connected

Forgot Password?
 Ubuntu Help   Discussion and help about Ubuntu, Kubuntu, Xubuntu, and all the Ubuntu family

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Closed Thread
 
Thread Tools Display Modes
Old 08-28-2008   #1 (permalink)
Just Joined!
 
Join Date: Aug 2008
Location: Karachi, Pakistan
Posts: 3
[SOLVED] local lan works only when dsl is connected

hello all,

i am pretty new to linux and to ubuntu. i have a wired lan setup (four machines) as well as a dsl connection that is shared among all machines via a standalone Baylan switch. A Zyxel DSL modem is connected to the switch. As far as IP, Netmasks go, there are no static ips configured as the DSL provider configures the IPs automatically. The only configuration is the DSL providers primary and secondary DNS.

the phone lines, however, are pretty bad so the dsl connection keeps dropping quite frequently. The problem is that when the dsl connection is dropped, access on the local lan also goes with it.

I did not reconfigure any network settings upon installation since ubuntu 8.04 worked right out of the box - the internet and the lan (after doing the sharing bit) was connected. It was only when the DSL went down that I realized that my LAN was not working. Also, when I try to configure my eth0 i get an error message saying that the interface does not exist.

Could anyone help!

Last edited by riamoh; 08-28-2008 at 07:00 AM.. Reason: formatting
riamoh is offline  


Old 08-28-2008   #2 (permalink)
Just Joined!
 
nareshjethva's Avatar
 
Join Date: Aug 2008
Location: Rajkot
Posts: 92
first of all you have to know you are using dhcp protocol
that's the problem
your ip provided by dhcp & dhcp works on DSL
when DSL goes down your ip....... also !!!!!
nareshjethva is offline  
Old 08-29-2008   #3 (permalink)
Just Joined!
 
Join Date: Aug 2008
Location: Karachi, Pakistan
Posts: 3
So what should I do? Could someone please explain what can be done to fix this?
riamoh is offline  
Old 08-29-2008   #4 (permalink)
Just Joined!
 
nareshjethva's Avatar
 
Join Date: Aug 2008
Location: Rajkot
Posts: 92
give manual ip to all of your PC & remove DHCP
nareshjethva is offline  
Old 08-29-2008   #5 (permalink)
Linux Guru
 
coopstah13's Avatar
 
Join Date: Nov 2007
Location: NH, USA
Posts: 1,756
you need a router, i assume your ISP is only going to provide you with one IP address, you need to share taht IP address across all of your machines using NAT, that way even if the internet is down, the internal network is not, when the net connection is plugged directly into a switch, it assumes the net connection is going to do the routing, which is why you are having a problem
coopstah13 is offline  
Old 08-29-2008   #6 (permalink)
Just Joined!
 
Join Date: Aug 2008
Location: Karachi, Pakistan
Posts: 3
Quote:
Originally Posted by coopstah13 View Post
you need a router, i assume your ISP is only going to provide you with one IP address, you need to share taht IP address across all of your machines using NAT, that way even if the internet is down, the internal network is not, when the net connection is plugged directly into a switch, it assumes the net connection is going to do the routing, which is why you are having a problem

that makes perfectly logical sense! thank you!

regards,

omair
riamoh is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 06:09 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2