#1  
Old 15th June 2007, 00:36
vruz vruz is offline
Junior Member
 
Join Date: Apr 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy two nics on debian

Does anyone can help me?
I have a testing server running debian etch that should listen for requests on one public ip and on a private lan. What should I do?
Two nics is the solution? So how to configure?
Virtual ethernet?
Routing?
I've tried googling a lot, but only found tutorials about eth bonding or some techniques like that.
I'm confused.
Please help me!

TIA
__________________
seo web directory
Reply With Quote
Sponsored Links
  #2  
Old 15th June 2007, 01:03
edge edge is online now
Moderator
 
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,034
Thanks: 265
Thanked 151 Times in 131 Posts
Default

Have a look at the Debian Sarge setup (page 3).
It's for Debian Sarge, but it's the same for Debian Etch.
The 1st NIC will be eth0. The virtual NIC's are eth0:0 eth0:1, etc..
The 2nd NIC will be eth1. The virtual NIC's are eth1:0 eth1:1 ....
__________________
Never execute code written on a Friday or a Monday.
Reply With Quote
  #3  
Old 19th June 2007, 23:35
MisterVlad MisterVlad is offline
Member
 
Join Date: Jun 2007
Location: Windsor, Ontario, CANADA
Posts: 61
Thanks: 1
Thanked 1 Time in 1 Post
Send a message via MSN to MisterVlad Send a message via Skype™ to MisterVlad
Default

ok... how about this one, i have 2 ip adresses, if i point the second IP address to the same computer, will i just set up a virtual eth0:0 or whatever?

or does it really matter?
Reply With Quote
  #4  
Old 19th June 2007, 23:59
edge edge is online now
Moderator
 
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,034
Thanks: 265
Thanked 151 Times in 131 Posts
 
Default

Have a look at the link in my 1st reply.

It's showing how you can add the extra IP(s), so that they are virtual ones.

I've got 8 IP's setup that way on my system.
One for FTP, one for the normal HTTP stuff, 3 for DNS, one for POP3, one for SMTP, and one for remote stuff.

With the firewall I'm manageing the IP's and correct ports for it.
So.. If I scan the "FTP" IP, I only see the needed FTP ports open. If I scan the DNS IP, I only see the needed DNS port open.. etc. etc.
__________________
Never execute code written on a Friday or a Monday.
Reply With Quote
Reply

Bookmarks

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
The Perfect Setup - Debian Woody (3.0)... sending mail from my XP box? ExCIA HOWTO-Related Questions 17 27th June 2007 18:31
Bind Failed christoph2k HOWTO-Related Questions 4 28th April 2007 00:57
Pls Help - Problem installing OpenVZ with Debian Etch. joelee HOWTO-Related Questions 3 14th January 2007 18:37
iptables issue with xen perfect setup - debian alexnz HOWTO-Related Questions 3 25th November 2006 13:49
e-mail problem!!! Debian 3.1 maroonworks Installation/Configuration 18 6th December 2005 14:42


All times are GMT +2. The time now is 22:04.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.