06-09-2005
Ermm... maybe I'm being stupid but I thought you also have to edit files in (it must depend on your distro I guess)
/etc/sysconfig/network/
If you do need to edit these files, you'll probably already see something which looks like
/etc/sysconfig/network/ifcfg-eth0
If you see that, the quickest thing to do would be to
cp /etc/sysconfig/network/ifcfg-eth0 /etc/sysconfig/network/ifcfg-eth1
The edit it
pico /etc/sysconfig/network/ifcfg-eth1
Just change the hardware address and the IP setting then run
/etc/init.d/network restart
Voila, you should have a new interface available. That will load at startup too.
Note: Your network script paths may vary depending upon the distro you have
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi:-
I am trying to install a device driver for Intel NIC card on TurboLinux, but getting following errors,
cc -O -Wall -o eepro100-diag eepro100-diag.c
eepro100-diag.c:72: unistd.h: No such file or directory
eepro100-diag.c:73: stdio.h: No such file or directory
eepro100-diag.c:74:... (1 Reply)
Discussion started by: s_aamir
1 Replies
2. Solaris
Hi , I came across a SUN server whereby it was installed with additional ethernet card. By right in any configuration, you would probably see the onboard ports Net0,Net1 and so on should correspond to e1000g0,e1000g1...
But instead the ext PCI takes precedence in the order and the Net0 becomes... (3 Replies)
Discussion started by: incredible
3 Replies
3. HP-UX
how can I determine which NIC card is virtual NIC Card
which condition can make a decision
Does HP UX have Virtual Network Adapter Concept
if ,it has
where I can Find if I Install Virutal Network Adapter
or which command that i can get it
or which software can generate
thanks (2 Replies)
Discussion started by: alert0919
2 Replies
4. Solaris
I have a Sun Blade 2500 with SUN 5.9 OS installed. I have one NIC built-in which is working fine.
I insert another new NIC in the machine with four RJ45 connector options(means four NICs in one Card). The problem is i am not able to see the new NIC
Thanks (13 Replies)
Discussion started by: z_haseeb
13 Replies
5. Solaris
I couldn't install my nic in solaris 10. I compiled and added
the driver but failed to attach the driver and ifconfig output
shows only loopback dev. Please see the following output and tell
me whether my nic has been detected and why the driver failed to
attach?
My nic is detected in linux... (0 Replies)
Discussion started by: vectrum
0 Replies
6. IP Networking
I am new in squid proxy.
My question is how to (and if it's necessary) to set one NIC for inbound traffic (http requests) and one NIC for outbound traffic (http answers)?
Thank you in advance! (4 Replies)
Discussion started by: aixlover
4 Replies
7. Red Hat
Dear All
I want tune my NIC's rps, rfs and xps value.
In my system I have two NIC (eth0, eth1) and I have a bond0 ( eth0, eth1).
Here is the question? Which device should I modify ?
eth0 and eth1? or just modify bond0 or modify all device (eth0, eth1, bond0)
Any advice is welcome.... (0 Replies)
Discussion started by: nnnnnnine
0 Replies
8. Virtualization and Cloud Computing
hi guys
I am using Suse 11 in virtual enviroment using vmware.
For some reasons I need to add a new virtual nic or just a nic to my suse 11.
so is there a way to add this new NIC to my Suse 11 without restarting?
thanks a lot
---------- Post updated 01-24-13 at 01:22 AM ----------... (0 Replies)
Discussion started by: karlochacon
0 Replies
9. Linux
Hello Admins,
My ask is how can I add two different subnet IPs to same box with two different gateways?
The issue is I can connect to the box when I am on ethernet LAN, but I am not able to connect to the same IP when I am on wifi. The server is RHEL 7 VM on vmware.
How can I get connected... (4 Replies)
Discussion started by: snchaudhari2
4 Replies
LEARN ABOUT SUSE
ifsysctl
IFSYSCTL(5) Network configuration IFSYSCTL(5)
NAME
ifsysctl[-<interface name>] - per network interface sysctl settings
SYNOPSIS
/etc/sysconfig/network/ifsysctl
/etc/sysconfig/network/ifsysctl-<interface name>
DESCRIPTION
These files are intended to contain sysctl settings, that should be applied when a network interface is created. This are usually interface
specific settings, like:
net.ipv6.conf.eth0.use_tempaddr = 1
or
net.ipv4.conf.eth0.rp_filter = 0
The settings are applied by the /etc/sysconfig/network/scripts/ifup-sysctl script executed via /etc/udev/rules.d/77-network.rules rule (see
udev(7)), after the creation and after the rename of the interface name to its persistent name (when applicable), but before the ifup
<interface name> -o hotplug may be executed to configure the interface.
The settings are not applied by default when the NetworkManager is active (NETWORKMANAGER=yes), except when the IFSYSCTL_NETWORKMANAGER=yes
variable is set in the /etc/sysconfig/network/config file.
Settings from the ifsysctl- file are applied every time an interface has been created.
Settings from the ifsysctl-interface name file are applied when the interface with the corresponding interface name has been created.
SYNTAX
The sysctl(8) utility is required to apply the settings. It supports two separator characters for sysctl keywords: a "." in default format
and a "/" in the alternate format. Therefore the syntax is basically same to the /etc/sysctl.conf file.
Interface names may contain a ".". In the default sysctl format using a "." as separator, that is any "." in the interface name of the key-
word, has to be replaced with a "/". In the alternate sysctl format with "/" as separator, normal interface names can be used.
Optionally, the ifsysctl files may contain also the $INTERFACE and the $SYSCTL_IF variables, that are automatically replaced with the cur-
rent interface name usable in the alternate format and with the sysctl-quoted interface name for the default format, before the settings
are passed to the sysctl utility.
Note also, that settings with variables in the ifsysctl (without the -<interface name> suffix), will be applied for every interface!
Further, files with variables are not compatible to the /etc/sysctl.conf file.
EXAMPLES
Settings for "eth0" and "eth0.1" interfaces
# using "." as separator:
net.ipv6.conf.eth0.use_tempaddr = 1
net.ipv6.conf.eth0/1.use_tempaddr = 1
# using "/" as separator:
net/ipv6/conf/eth0/use_tempaddr = 1
net/ipv6/conf/eth0.0/use_tempaddr = 1
Settings with variables:
# using "." as separator:
net.ipv6.conf.$SYSCTL_IF.use_tempaddr = 1
# using "/" as separator:
net/ipv6/conf/$INTERFACE/use_tempaddr = 1
To test your ifsysctl-eth0 or ifsysctl file, use:
/etc/sysconfig/network/scripts/ifup-sysctl eth0 -o debug
BUGS
Please report bugs at <https://bugzilla.novell.com/>
AUTHOR
Marius Tomaschewski <mt@suse.de>
SEE ALSO
ifup(8) ifcfg(5) sysctl(8)
sysconfig December 2009 IFSYSCTL(5)