LinuxQuestions.org
Review your favorite Linux distribution.
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 08-12-2009, 05:34 AM   #1
rhce_naresh
LQ Newbie
 
Registered: Aug 2009
Posts: 6

Rep: Reputation: 0
Question automatic obtain an ip address


HI Masters,Gurus,Friends'
This is my first visit to LINUX QUESTIONS.ORG.
1 Question:- I am using Centos & windows xp , my system is a dual boot system and i was connecting net through my linksys router when i am connecting the net through the windows xp i am able to access ( here the settings of ip is automatic bcoz the isp did not provide any ip it is a direct connection. so i did not give any ip and dns info in the nic and i am able to connect )where as when i am try the same thing in the linux i was not able to connect to the net what will be the problem.?

2.Question:- I have two network cards in my system and i have two different net connection form isps. i was planning to use two connections and when i try to provide the ip and dns information i was unable to give the dns information of the two ips how to configure mutiple different dns information so that i can able to connect to the net from both connections.
 
Old 08-12-2009, 11:13 PM   #2
mike10
Member
 
Registered: Aug 2005
Distribution: Debian amd64 with 32bit libs and Debian 32 bit laptop
Posts: 119

Rep: Reputation: 16
Quote:
Originally Posted by rhce_naresh View Post
HI Masters,Gurus,Friends'
1 Question:- I am using Centos & windows xp , my system is a dual boot system and i was connecting net through my linksys router when i am connecting the net through the windows xp i am able to access ( here the settings of ip is automatic bcoz the isp did not provide any ip it is a direct connection. so i did not give any ip and dns info in the nic and i am able to connect )where as when i am try the same thing in the linux i was not able to connect to the net what will be the problem.?
http://www.cyberciti.biz/faq/rhel-ce...configuration/

if you need more help post back
Quote:
Originally Posted by rhce_naresh View Post
2.Question:- I have two network cards in my system and i have two different net connection form isps. i was planning to use two connections and when i try to provide the ip and dns information i was unable to give the dns information of the two ips how to configure mutiple different dns information so that i can able to connect to the net from both connections.
lets get question one answered first since it seems to me what you want to do in question two is a little beyond you at this time but if you do want to give it a try I can help with that
 
Old 08-13-2009, 03:38 AM   #3
rhce_naresh
LQ Newbie
 
Registered: Aug 2009
Posts: 6

Original Poster
Rep: Reputation: 0
hello mike10
Thanks for your reply .
I think you did not get what i asked in my first question .
MY ISP did not gave the information of the ip address, dns address, or gateway. He asked to connect directly to the net.so i gave the isp connection to the router of linksys where my router is working properly and i am able to access the net from windows without giving the information of ip address .where as when i try to do the same thing form the linux system i am not able to connect to the internet with out ip address(automatically obtain ip address option is kept on)and its not working then how to make my linux system connect to the .i think you catch my point plz try to reply me as soon as possible.

2q:- I request you to let me know the solution for the second question also?

Last edited by rhce_naresh; 08-13-2009 at 05:17 AM.
 
Old 08-13-2009, 06:42 PM   #4
mike10
Member
 
Registered: Aug 2005
Distribution: Debian amd64 with 32bit libs and Debian 32 bit laptop
Posts: 119

Rep: Reputation: 16
Quote:
Originally Posted by rhce_naresh View Post
hello mike10
Thanks for your reply .
I think you did not get what i asked in my first question .
MY ISP did not gave the information of the ip address, dns address, or gateway. He asked to connect directly to the net.so i gave the isp connection to the router of linksys where my router is working properly and i am able to access the net from windows without giving the information of ip address .where as when i try to do the same thing form the linux system i am not able to connect to the internet with out ip address(automatically obtain ip address option is kept on)and its not working then how to make my linux system connect to the .i think you catch my point plz try to reply me as soon as possible.
could you post the output of
Code:
sudo ifconfig
Quote:
Originally Posted by rhce_naresh View Post
2q:- I request you to let me know the solution for the second question also?
do you want load balancing or fault tolerance

you will not be able to increase network speed without Ethernet binding as far as I know
 
Old 08-13-2009, 07:39 PM   #5
mushroomboy
Member
 
Registered: Jan 2006
Distribution: Debian Testing ALWAYS!!!
Posts: 363

Rep: Reputation: 43
You can't do 2 different network connections on the same network effectively without binding I thought? And if he wants to do that wouldn't he be better off removing the router all together and do automatic dhcp with just one nic for starters?
 
Old 08-13-2009, 08:14 PM   #6
mike10
Member
 
Registered: Aug 2005
Distribution: Debian amd64 with 32bit libs and Debian 32 bit laptop
Posts: 119

Rep: Reputation: 16
Quote:
Originally Posted by mushroomboy View Post
You can't do 2 different network connections on the same network effectively without binding I thought?
that is why I said load balancing or fall-over (if on isp goes down you automatically use the other) load balancing should give a speed boost on two or more transfers

on a local network I think fall-over is automatic but not sure
Quote:
Originally Posted by mushroomboy View Post
And if he wants to do that wouldn't he be better off removing the router all together and do automatic dhcp with just one nic for starters?
if he was doing ethernet binding than than most, likely but since I do not think ethernet binding will work but I see no reason why he should not use both network cards to connect to the internet since that should add fault tolerance
 
Old 08-13-2009, 09:00 PM   #7
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
For the record, the term being discussed here is "bonding" rather than "binding". The kernel bonding driver would be used, which can be configured to do load balancing, fault tolerance, and a number of other nifty configurations.

The kernel source code in particular, as well as LOADS of internet sources and other places probably here on LQ, have info about using the bonding driver.

Sasha
 
Old 08-13-2009, 09:14 PM   #8
mike10
Member
 
Registered: Aug 2005
Distribution: Debian amd64 with 32bit libs and Debian 32 bit laptop
Posts: 119

Rep: Reputation: 16
Quote:
Originally Posted by GrapefruiTgirl View Post
For the record, the term being discussed here is "bonding" rather than "binding"
now that you mention it I see my mistake

thanks for the correction
 
  


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
how to make my pc obtain an ip address automatically shady_Dev Linux - Networking 2 09-26-2008 03:03 AM
How to obtain another IP address from DHCP server ICO Linux - Networking 4 05-10-2006 02:03 PM
how to obtain mac address using sk_buff??? dogslayer Linux - Networking 2 04-14-2006 08:22 AM
how to obtain someone's ip address through netstat dr_zayus69 Linux - Networking 5 08-14-2005 12:06 AM
Can't obtain IP address for my wireless card trialanderror Linux - Newbie 17 07-23-2005 04:51 PM

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

All times are GMT -5. The time now is 06:41 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration