LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 04-27-2009, 09:00 AM   #1
efilnei
LQ Newbie
 
Registered: Apr 2009
Posts: 10

Rep: Reputation: 0
2 interfaces in a one network card


Hi, i'm configuring an LTSP server. I have to configure 2 interfaces of network (for example eth0 and eth1), eth0 to Internet and eth1 for the thin clients. Now i only have eth0 that i use for Internet

But i don't have idea how to configure another interface. I'm using Debian. I try to run:

ifconfig eth1 ip netmask

But this give me error "device doesn't exists"

Can anyone help please? Thx!
 
Old 04-27-2009, 10:13 AM   #2
JoeBleaux
LQ Newbie
 
Registered: Mar 2009
Distribution: Slamd64
Posts: 26

Rep: Reputation: 15
I THINK what you are asking how to do is to configure eth0:0 and eth0:1.

In Slackware, it's easy. I don't know about Debian.

Just Google "eth0:1 +Debian"
 
Old 04-27-2009, 10:17 AM   #3
CarLost
Member
 
Registered: Jun 2004
Location: Sentado en mi trasero en Chile
Distribution: ArchLinux
Posts: 47

Rep: Reputation: 16
Hi
You have already two NICs???
"ifconfig -a" say what!!!

If you have the two NICs... the right modules are loaded?? supported??

look for errors in ..... messages .... dmesg ..... kernel log's

regards.
 
Old 04-27-2009, 10:20 AM   #4
CarLost
Member
 
Registered: Jun 2004
Location: Sentado en mi trasero en Chile
Distribution: ArchLinux
Posts: 47

Rep: Reputation: 16
Quote:
Originally Posted by JoeBleaux View Post
I THINK what you are asking how to do is to configure eth0:0 and eth0:1.

In Slackware, it's easy. I don't know about Debian.

Just Google "eth0:1 +Debian"

That's aliasing, to share 2 IP address in one NIC, not good if you try to "share" the same fisical of LAN (Internet+LAN)
 
Old 04-27-2009, 10:45 AM   #5
efilnei
LQ Newbie
 
Registered: Apr 2009
Posts: 10

Original Poster
Rep: Reputation: 0
Hi. Sorry, my english is not very good, hehe

Now i'm not in house, i can't probe it. When i write "ifconfig" in a terminal shows 2 interfaces: "lo" and "eth0". I use eth0 to connect Internet. I need another interface for the thin clientss

Thanks a lot
 
Old 04-27-2009, 10:50 AM   #6
JoeBleaux
LQ Newbie
 
Registered: Mar 2009
Distribution: Slamd64
Posts: 26

Rep: Reputation: 15
You have two options Efilnei-

1) Alias the one card to two intefraces as I said above.

2) Buy a second cheap card.
 
Old 04-28-2009, 02:25 PM   #7
john test
Member
 
Registered: Jul 2008
Distribution: ubuntu 9.10
Posts: 527
Blog Entries: 1

Rep: Reputation: 35
Quote:
Originally Posted by efilnei View Post
Hi, i'm configuring an LTSP server. I have to configure 2 interfaces of network (for example eth0 and eth1), eth0 to Internet and eth1 for the thin clients. Now i only have eth0 that i use for Internet

But i don't have idea how to configure another interface. I'm using Debian. I try to run:

ifconfig eth1 ip netmask

But this give me error "device doesn't exists"

Can anyone help please? Thx!
You need to buy a second Network Interface Card (NIC) to get an Eth1.
 
  


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
the network scripts to create network interfaces for 802.1q VLANs 10 and 11, Lahore Linux - Networking 0 03-18-2009 05:45 AM
Network interfaces do not bring up on network restart rajat Linux - Networking 1 06-20-2007 04:44 AM
For laptop - different networks in /etc/network/interfaces, or use network-manager? dmravaet Linux - Wireless Networking 4 03-17-2007 11:42 PM
Manual Network Setup Works, /etc/network/interfaces doesn't verdeboy2k Linux - Wireless Networking 0 05-31-2006 06:56 PM
multiple network interfaces -> getting card vendor for eth0... linen0ise Slackware 9 12-07-2003 08:16 PM

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

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