Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Unnumbered interface *SOLVED*
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
chockymonster
n00b
n00b


Joined: 03 Feb 2004
Posts: 17

PostPosted: Mon May 17, 2004 1:57 pm    Post subject: Unnumbered interface *SOLVED* Reply with quote

Guys,

I've done a search but not found an answer that works :(
I'm building a gentoo snort box with 2 nics.

Eth0 is my management nic configured with static ip on a 10.1.x.x subnet
Eth1 I want to assign as an unnumbered interface to do my snort scanning.

How can I configure an interface to be unnumbered? I've tried commenting out eth1 in /etc/conf.d/net but that won't let me bring up the interface.

Any ideas?

Paul


Last edited by chockymonster on Thu May 27, 2004 11:36 am; edited 1 time in total
Back to top
View user's profile Send private message
db_404
Guru
Guru


Joined: 05 Dec 2002
Posts: 336

PostPosted: Mon May 17, 2004 3:33 pm    Post subject: Reply with quote

Could you just bring it up with no IP address?

e.g.
Code:

ifconfig eth1 up


I've also seen some articles on making 'recieve only' ethernet cables, which is probably overkill but would ensure that _nothing_ goes out on that IF.
Back to top
View user's profile Send private message
chockymonster
n00b
n00b


Joined: 03 Feb 2004
Posts: 17

PostPosted: Thu May 27, 2004 11:35 am    Post subject: Reply with quote

Bringing up the interface with
ifconfig eth1 up worked to a fashion, however anything trying to use the interface always started with
Code:
 * Please make sure that /etc/conf.d/net has $ifconfig_eth1 set
 * (or $iface_eth1 for old-style configuration)


If found that if I set the eth1 variable in /etc/conf.d/net to

Code:
iface_eth1="0.0.0.0"


The net.eth1 is able to bring up the interface unnumbered and anything else using the interface doesn't error.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum