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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
|
|||
|
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 |
|
|||
|
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 |
|
|||
|
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 |