Suse 8.2: Setting up an ethernet-interface without an ip-address

This is a discussion on Suse 8.2: Setting up an ethernet-interface without an ip-address within the Linux Security forums, part of the System Security and Security Related category; Because of setting up Suse 8.2 for Snort I want to set one of the ethernet-interfaces in promiscuous ...


Go Back   Usenet Forums > System Security and Security Related > Linux Security

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-28-2003
xantos
 
Posts: n/a
Default Suse 8.2: Setting up an ethernet-interface without an ip-address

Because of setting up Suse 8.2 for Snort I want to set one of the
ethernet-interfaces in promiscuous mode. Which is not the problem ;-)

The problem is I want to setup this ethernet-interface without an
ip-address.

Setting up with an ip-address works fine.

================================================== ========================

Using Suse 7.2 this was very easy using /etc/rc.config:
#
IPADDR_0=""
#
NETDEV_0="eth0"
#
IFCONFIG_0="up"
#

================================================== ========================

Now I have to use /etc/sysconfig/network/ifcfg-eth0:
BOOTPROTO='static' # dhcp or static, none (and bootp) are not
supported
BROADCAST=''
IPADDR=''
MTU=''
NETMASK=''
NETWORK=''
REMOTE_IPADDR=''
STARTMODE='onboot'
UNIQUE=unique number
WIRELESS='no'

================================================== ========================

/var/log/boot.msg says:

eth0 ERROR: Warning: Could not set up default route via
interface eth0


Please advise,
Xantos
Reply With Quote
  #2 (permalink)  
Old 10-28-2003
Volker Birk
 
Posts: n/a
Default Re: Suse 8.2: Setting up an ethernet-interface without an ip-address

In comp.os.linux.security xantos <xantos@my-deja.com> wrote:
[SuSE Linux]
> The problem is I want to setup this ethernet-interface without an
> ip-address.
> Setting up with an ip-address works fine.


I fear you have to hack the scripts for supporting none, or
you have do have your own script which is doing the ifconfig
for you.

But why aren't you asking SuSE themselves?

VB.
--
X-Pie Software GmbH
Postfach 1540, 88334 Bad Waldsee
Phone +49-7524-996806 Fax +49-7524-996807
mailto:vb@x-pie.de http://www.x-pie.de
Reply With Quote
  #3 (permalink)  
Old 10-29-2003
Jure Krasovic
 
Posts: n/a
Default Re: Suse 8.2: Setting up an ethernet-interface without an ip-address

You are trying to setup the default route via interface without IP
address. This doesnt work. What you need to do is to delete GATEWAY ip
address.

Best regards!

Jure


xantos wrote:
> Because of setting up Suse 8.2 for Snort I want to set one of the
> ethernet-interfaces in promiscuous mode. Which is not the problem ;-)
>
> The problem is I want to setup this ethernet-interface without an
> ip-address.
>
> Setting up with an ip-address works fine.
>
> ================================================== ========================
>
> Using Suse 7.2 this was very easy using /etc/rc.config:
> #
> IPADDR_0=""
> #
> NETDEV_0="eth0"
> #
> IFCONFIG_0="up"
> #
>
> ================================================== ========================
>
> Now I have to use /etc/sysconfig/network/ifcfg-eth0:
> BOOTPROTO='static' # dhcp or static, none (and bootp) are not
> supported
> BROADCAST=''
> IPADDR=''
> MTU=''
> NETMASK=''
> NETWORK=''
> REMOTE_IPADDR=''
> STARTMODE='onboot'
> UNIQUE=unique number
> WIRELESS='no'
>
> ================================================== ========================
>
> /var/log/boot.msg says:
>
> eth0 ERROR: Warning: Could not set up default route via
> interface eth0
>
>
> Please advise,
> Xantos


Reply With Quote
  #4 (permalink)  
Old 10-29-2003
xantos
 
Posts: n/a
Default Re: Suse 8.2: Setting up an ethernet-interface without an ip-address

I would like to, but I added only a default ip adress which should be
routed via eth1. Any idea how to delete GATEWAY ip for eth0?

Kind regards,
Xantos

Jure Krasovic <yuka_29@yahoo.com> wrote in message news:<GgNnb.4984$2B6.960463@news.siol.net>...
> You are trying to setup the default route via interface without IP
> address. This doesnt work. What you need to do is to delete GATEWAY ip
> address.
>
> Best regards!
>
> Jure
>
>
> xantos wrote:
> > Because of setting up Suse 8.2 for Snort I want to set one of the
> > ethernet-interfaces in promiscuous mode. Which is not the problem ;-)
> >
> > The problem is I want to setup this ethernet-interface without an
> > ip-address.
> >
> > Setting up with an ip-address works fine.
> >
> > ================================================== ========================
> >
> > Using Suse 7.2 this was very easy using /etc/rc.config:
> > #
> > IPADDR_0=""
> > #
> > NETDEV_0="eth0"
> > #
> > IFCONFIG_0="up"
> > #
> >
> > ================================================== ========================
> >
> > Now I have to use /etc/sysconfig/network/ifcfg-eth0:
> > BOOTPROTO='static' # dhcp or static, none (and bootp) are not
> > supported
> > BROADCAST=''
> > IPADDR=''
> > MTU=''
> > NETMASK=''
> > NETWORK=''
> > REMOTE_IPADDR=''
> > STARTMODE='onboot'
> > UNIQUE=unique number
> > WIRELESS='no'
> >
> > ================================================== ========================
> >
> > /var/log/boot.msg says:
> >
> > eth0 ERROR: Warning: Could not set up default route via
> > interface eth0
> >
> >
> > Please advise,
> > Xantos

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:55 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0