06-04-2010
Hi,
Thanks for the response..I am actually looking for the files which stores IP and gateway related information ,like in RHEL below files holds the information about IP and gateway.
/etc/sysconfig/network ; config file holds the gateway and domain information
/etc/sysconfig/network-scripts/ifcfg-ethx ;config file holds the information about IP address .
Thanks,
Sunil.K
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi !
Does anyone know how can i get information about my network interface ... if it works in half or full duplex mode !!
Thx in adivance !
Witt (4 Replies)
Discussion started by: witt
4 Replies
2. BSD
hi
howto restart the network with a wireless interface including wpa_supplicant on freeBSD 7.2 without reboot? (3 Replies)
Discussion started by: ccc
3 Replies
3. AIX
Hi,
I am trying to list all the interface present in the given system.
Here is sample program.
i.e. cat 1.c
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <sys/dlpi.h>
#include <net/if.h>
/*#include <sys/sockio.h>*/
#include <unistd.h>
#include... (3 Replies)
Discussion started by: jgobbur
3 Replies
4. Solaris
i need to configure a zone to use different interface (bge2) than global and have connected to completely different network switch & to use its own defaultrouter and hosts file .. is it possible ..if so ..how ?
Thanks (9 Replies)
Discussion started by: skamal4u
9 Replies
5. UNIX and Linux Applications
Hi,
I'm a italian student. For my thesis I develop a gateway with protocol 6lowpan.
For that I must access to network interface to develope my personal stack based on standard 802.15.4.
Can you help me? I need an explanation for that. (0 Replies)
Discussion started by: berny88
0 Replies
6. IP Networking
Hello,
Please, how can i create a network interface with a routable IP address on linux (ubuntu) ?
AND
How can i desactivate an interface?
Thank you so much for help. (1 Reply)
Discussion started by: chercheur857
1 Replies
7. Solaris
I've one Netra 240
After changing main board and system configuration card reader, Network is not accessible any more, Network interfaces are always UP and Running even when there is no cable connected to Network interfaces.
I tried to restart and plumb/unplumb with no luck.
ifconfig -a... (7 Replies)
Discussion started by: samer.odeh
7 Replies
8. UNIX for Dummies Questions & Answers
I have a RHEL 5 system with a bonded interface configure using only one network port (eth0). So I have config file for ifcfg-bond0 and ifcfg-eth. I'd like to configure eth5 to be the second SLAVE in the bond. My question is, after I modify ifcfg-eth5, can I add eth5 to the bond0 interface without... (1 Reply)
Discussion started by: westmoreland
1 Replies
9. Red Hat
Hi,
I have 2 machines in production environment:
1. redhat machine for application
2. DB machine (oracle)
The application doing a lot of small read&writes from and to the DB machine.
The problem is that after some few hours the network from the application to the DB becomes very slow and... (4 Replies)
Discussion started by: moshesa
4 Replies
10. Debian
Hello,
I would like to do follow steps.
Set a static IP-Adress on eth0 (For Testing)
Set DHCP on eth0
All steps should be done without a single reboot.
/etc/network/interfaces
iface eth0 inet static
address 192.0.2.7/24
gateway 192.0.2.254How do i perform... (3 Replies)
Discussion started by: int3g3r
3 Replies
LEARN ABOUT CENTOS
usernetctl
USERNETCTL(8) System Manager's Manual USERNETCTL(8)
NAME
usernetctl - allow a user to manipulate a network interface if permitted
SYNOPSIS
usernetctl interface-name up|down|report
DESCRIPTION
usernetctl checks to see if users are allowed to manipulate the network interface specified by interface-name, and then tries to bring the
network interface up or down, if up or down was specified on the command line, or returns true or false status (respectively) if the report
option was specified.
usernetctl is not really meant to be called directly by users, though it currently works fine that way. It is used as a wrapper by the
ifup and ifdown scripts, so that users can do exactly the same thing as root:
ifup interface-name
ifdown interface-name
and ifup and ifdown will call usernetctl automatically to allow the interface status change.
OPTIONS
interface-name
The name of the network interface to check; for example, "ppp0". For backwards compatibility, "ifcfg-ppp0" and "/etc/sysconfig/net-
work-scripts/ifcfg-ppp0" are also supported.
up|down
Attempt to bring the interface up or down.
report Report on whether users can bring the interface up or down.
NOTES
Alternate device configurations may inherit the default configuration's permissions.
RHS
Red Hat, Inc. USERNETCTL(8)