View previous topic :: View next topic |
Author |
Message |
chockymonster n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 03 Feb 2004 Posts: 17
|
Posted: Mon May 17, 2004 1:57 pm Post subject: Unnumbered interface *SOLVED* |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
db_404 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 05 Dec 2002 Posts: 336
|
Posted: Mon May 17, 2004 3:33 pm Post subject: |
|
|
Could you just bring it up with no IP address?
e.g.
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 |
|
![](templates/gentoo/images/spacer.gif) |
chockymonster n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 03 Feb 2004 Posts: 17
|
Posted: Thu May 27, 2004 11:35 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|