Networking Forums

Networking Forums > Computer Networking > Linux Networking > Suse 8.2: Setting up an ethernet-interface without an ip-address

Reply
Thread Tools Display Modes

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

 
 
xantos
Guest
Posts: n/a

 
      10-28-2003, 05:42 PM
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
 
 
 
 
Volker Birk
Guest
Posts: n/a

 
      10-28-2003, 05:48 PM
In comp.os.linux.security xantos <(E-Mail Removed)> 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
private.php?do=newpm&u= http://www.x-pie.de
 
Reply With Quote
 
Jure Krasovic
Guest
Posts: n/a

 
      10-29-2003, 10:12 AM
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
 
xantos
Guest
Posts: n/a

 
      10-29-2003, 01:48 PM
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 <(E-Mail Removed)> wrote in message news:<GgNnb.4984$(E-Mail Removed)>...
> 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
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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
setting up lax security on one ethernet interface while leaving theother strict dan Linux Networking 8 09-30-2008 12:30 AM
Command for assigning IPv6 address and MAC address on the interface iceman Linux Networking 7 03-03-2008 07:51 PM
serial interface to ethernet interface Kenneth Sparre Linux Networking 9 11-01-2005 12:27 PM
problem setting up moto we800g ethernet bridge with linksys ethernet router I'm NOT DON Windows Networking 0 05-30-2005 07:50 PM
SuSE 9.1, network: can't get rid of wireless interface John Norvell Linux Networking 0 09-07-2004 05:31 PM



1 2 3 4 5 6 7 8 9 10 11