10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Dear all,
I have a remote CentOS7 server that has two network cards. Each card has four ports and port one of card one was defined with the IP address assigned to the server. So far, so good and it's been working for over a year. We have now got cables sorted out so there are four paths... (4 Replies)
Discussion started by: rbatte1
4 Replies
2. 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
3. AIX
Hi .. we have two AIX 5.3 systems with a small client server app communicating over a TCP socket.
Box A has a single network interface where the server app (in Java) opens a well known port and waits for connections from Box B.
Box B has two network interfaces, X and Y. Interface X has the... (4 Replies)
Discussion started by: RonBowater
4 Replies
4. UNIX for Advanced & Expert Users
Hi,
Apologies if this is the wrong forum or this question has been answered already.
I'm using the ISC dhcpd server on Centos 6.0, and can happily assign a single IPV6 address to a client with entries like this:
subnet6 fd01:0:0:5::/64
{
option dhcp6.name-servers fd01:0:0:5::226;... (0 Replies)
Discussion started by: jusme
0 Replies
5. Shell Programming and Scripting
Hi,
I have a requirement with,
No~Dt~Notes
1~2011/08/1~"aaa
bbb
ccc
ddd
eee
fff
ggg
hhh"
Single column alone got splitted into multiple lines.
I require the output as
No~Dt~Notes
1~2011/08/1~"aaa<>bbb<>ccc<>ddd<>eee<>fff<>ggg<>hhh"
mean to say those new lines to be... (1 Reply)
Discussion started by: Bhuvaneswari
1 Replies
6. Solaris
Hello All,
I have a requirement to add multiple virtual interfaces on a non-global zone (Solaris 10). The global zone is a 2 node Veritas Cluster Server. So, my question is do we have to make any modifications to the cluster config (which I think should not be the case)? Can anyone help with me... (11 Replies)
Discussion started by: mahive
11 Replies
7. IP Networking
Hi,
My project needs to migrate the existing Subnet (255.255.255.0) to a new subnet and change the ipaddresses (currently C class). How can I do that. I need some information.
John (0 Replies)
Discussion started by: johnmarsh
0 Replies
8. AIX
Is there a way to add routes using the add route command in AIX to add different routes and bind them to different NICS installed in the box? (2 Replies)
Discussion started by: Docboyeee
2 Replies
9. UNIX for Dummies Questions & Answers
I'm having some problems here, and was wondering whether it was an Apache problem. We have two firewalls where I'm at, Apache is installed on the second one. The first firewall is setup to forward all outside requests to port 80 on the second firewall. Apache is only working on the lan, not the... (2 Replies)
Discussion started by: cerberusofhnsg
2 Replies
10. IP Networking
I have a Unix box with 2 network interfaces on the same IP subnet and would like to add a host route via a specific interface. Any assistance would be greatly appreciated. (3 Replies)
Discussion started by: diemos
3 Replies
ifup(8) ifup(8)
NAME
ifup - bring a network interface up
ifdown - take a network interface down
SYNOPSIS
ifup [-nv] [--no-act] [--verbose] [-i FILE|--interfaces=FILE] [--allow CLASS] -a|IFACE...
ifup -h|--help
ifup -V|--version
ifdown [-nv] [--no-act] [--verbose] [-i FILE|--interfaces=FILE] [--allow CLASS] -a|IFACE...
DESCRIPTION
The ifup and ifdown commands may be used to configure (or, respectively, deconfigure) network interfaces based on interface definitions in
the file /etc/network/interfaces.
OPTIONS
A summary of options is included below.
-a, --all
If given to ifup, affect all interfaces marked auto. Interfaces are brought up in the order in which they are defined in /etc/net-
work/interfaces. If given to ifdown, affect all defined interfaces. Interfaces are brought down in the order in which they are
currently listed in the state file. Only interfaces defined in /etc/network/interfaces will be brought down.
--force
Force configuration or deconfiguration of the interface.
-h, --help
Show summary of options.
--allow=CLASS
Only allow interfaces listed in an allow-CLASS line in /etc/network/interfaces to be acted upon.
-i FILE, --interfaces=FILE
Read interface definitions from FILE instead of from /etc/network/interfaces.
-e PATTERN, --exclude=PATTERN
Exclude interfaces from the list of interfaces to operate on by the PATTERN. Notice that the PATTERN can be a full interface name
or substrings that match interfaces. Users could easily have unexpected behaviour if they use a small string to do the match.
-n, --no-act
Don't configure any interfaces or run any "up" or "down" commands.
--no-mappings
Don't run any mappings. See interfaces(5) for more information about the mapping feature.
-V, --version
Show copyright and version information.
-v, --verbose
Show commands as they are executed.
EXAMPLES
ifup -a
Bring up all the interfaces defined with auto in /etc/network/interfaces
ifup eth0
Bring up interface eth0
ifup eth0=home
Bring up interface eth0 as logical interface home
ifdown -a
Bring down all interfaces that are currently up.
NOTES
ifup and ifdown are actually the same program called by different names.
The program does not configure network interfaces directly; it runs low level utilities such as ip to do its dirty work.
FILES
/etc/network/interfaces
definitions of network interfaces See interfaces(5) for more information.
/var/run/network/ifstate
current state of network interfaces
KNOWN BUGS
/LIMITATIONS
The program keeps records of whether network interfaces are up or down. Under exceptional circumstances these records can become inconsis-
tent with the real states of the interfaces. For example, an interface that was brought up using ifup and later deconfigured using ifcon-
fig will still be recorded as up. To fix this you can use the --force option to force ifup or ifdown to run configuration or deconfigura-
tion commands despite what it considers the current state of the interface to be.
The file /var/run/network/ifstate must be writable for ifup or ifdown to work properly. On Ubuntu the /var/run location is a temporary
filesystem which is always writable and thrown away on shutdown. You can also use the --force option to run configuration or deconfigura-
tion commands without updating the file.
Note that the program does not run automatically: ifup alone does not bring up interfaces that appear as a result of hardware being
installed and ifdown alone does not bring down interfaces that disappear as a result of hardware being removed. To automate the configura-
tion of network interfaces you need to install other packages such as hotplug(8) or ifplugd(8).
AUTHOR
The ifupdown suite was written by Anthony Towns <aj@azure.humbug.org.au>.
SEE ALSO
interfaces(5), ip(8), ifconfig(8).
IFUPDOWN
22 May 2004 ifup(8)