LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 12-19-2004, 06:23 PM   #1
Echo Kilo
Member
 
Registered: Jul 2004
Distribution: Ubuntu - Debian Based
Posts: 242

Rep: Reputation: 30
DHCP - one network card?


Do I have to have 2 network cards for a linux box to be connected to the internet and do DHCP for other clients?

Or can you do both with one?
 
Old 12-19-2004, 06:43 PM   #2
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
Whats the setup, how do you connect two cables to one card? is their a router, and if so isn't that doing the DHCP?
 
Old 12-19-2004, 06:46 PM   #3
Echo Kilo
Member
 
Registered: Jul 2004
Distribution: Ubuntu - Debian Based
Posts: 242

Original Poster
Rep: Reputation: 30
The linux server is connected to a router doing dhcp.

the reason I ask is becasue I want to setup vpn server on the linux box and I think I may have to turn on dhcp, but I'm not sure.

Either way, I was curious what would happen if I could turn on dhcp with one card and what would happen.
 
Old 12-19-2004, 07:03 PM   #4
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
Well with one card not much. The other machines would have to also go through the router to get to your Linux box, which means getting their IP from it.

VPN is used across the internet, not behind a router, as the machines behind the router should act like a lan anyway. The router should already be firewalling your machines.
 
  


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
network card not getting dhcp info from router jbinstalls Linux - Networking 1 11-07-2005 01:01 PM
Network Card can't get IP from DHCP server andypoon Linux - Networking 5 04-13-2005 04:13 PM
configure network card dhcp triad40001 Linux - Networking 2 07-03-2003 07:02 PM
Setting DHCP on a network card in text mode (no netconfig!) ferrantepunto Linux - Networking 3 12-11-2002 06:58 AM
help: network card seems to work, but can't get ip address via dhcp. aidano Linux - Networking 1 10-30-2001 11:27 PM


All times are GMT -5. The time now is 11:47 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