02-26-2002
Yeah after network stop and start the configurations are all gone. That's probably because ifconfig uses ioctl. I made a simple programm that uses ioctl for changing the IP, I can give it to you if you want, but after rebooting the new configurations are gone.
To tell you the truth I do not know why there are so many files doing the same thing. Probably because these configurations are vendor dependent. (Especially red hat tends to change everything, I still don't understand why they do not provide the kernel source code in /usr/src/linux)
10 More Discussions You Might Find Interesting
1. Linux
Had problems in configuring USB memory stick in RHL 9.
Please assist.
With regards,
Kungra. (1 Reply)
Discussion started by: kungra2006
1 Replies
2. Shell Programming and Scripting
Hi,
I want to configure 2-gateways in Linux .
Please tell me how I can achieve this. I am accesing 2-internet
connection through these 2-gateways. So I am looking that
if 1-gets down then also other one is working.
Regards
JAGDISH (1 Reply)
Discussion started by: jagdish.machhi@
1 Replies
3. Solaris
hi friends,
I have brand new Sun Ultra 20 WS installed.
It was preinstalled with Solaris 10 6/06 system,
in ifconfig -a command only loop back intervace is showing.
and
/etc/path_to_install also not able to find the interface name.
my questions are:
1. Is there any command to get... (1 Reply)
Discussion started by: subhankar
1 Replies
4. Red Hat
Hi All
when I give the command,
$ ping <hostname>
I get the following error
ping: unknown host <hostname>
I have checked in the following files,
/etc/sysconfig/network
/etc/hosts
/etc/resolv.conf
/etc/nsswitch.conf
Every where in these files host name and IP address are given... (2 Replies)
Discussion started by: nagapradeep
2 Replies
5. AIX
I have a server with multiple network interfaces. 2 of these interfaces, lets say en2 and en6 make up an etherchannel interface, which let's say en8.
when I run the command
lsattr -El ent8
I can see the designated primary and backup interfaces as ent6 and ent2, in the given order. But... (10 Replies)
Discussion started by: thenomad
10 Replies
6. UNIX for Advanced & Expert Users
Can anybody please explain the below table to monitor NTP daemon status
This contains many columns like remote,refid,st....various values corresponding to those columns
If possible provide me any link to study about these quantities clearly.
It is very much required for my project please... (3 Replies)
Discussion started by: sgand
3 Replies
7. IP Networking
i have a linux server runnig oracle applications.
i need to access this server from putty using ssh through internet.
i did by registering my static ip with the dnydns.org and i am able to connect to the server.
but now there is no security to authenticate any user as any one knowing the... (6 Replies)
Discussion started by: u.n.i.x
6 Replies
8. Infrastructure Monitoring
I am trying to enabling SNMP access and trap forwarding for Linux(RHEL5) using following official url from IBM.
http://publib.boulder.ibm.com/infocenter/eserver/v1r2/index.jsp?topic=/diricinfo/fqm0_t_enabling_snmp_access_and_trap_forwarding_for_linux.html
In my system, snmp and snmplibs are... (1 Reply)
Discussion started by: SiddhV
1 Replies
9. IP Networking
Can someone help with a detail step-by-step oh how to configure DNS server on Linux Server.
-
I need to have 3 IP addresses map to a single hostname.
for clients
I'm a Linux rookie.
Thanks
Oscar (1 Reply)
Discussion started by: FrankOscar
1 Replies
10. Red Hat
Dear Experts,
We have requirement to configure Dot matrix printer in linux, Also need to register in Oracle application R12.0.6 version where i need get the print in landscape format.
Request you all kindly help on the same.
Thank you,
Alone.
---------- Post updated 02-18-14 at 01:02... (6 Replies)
Discussion started by: Alone
6 Replies
LEARN ABOUT XFREE86
epair
EPAIR(4) BSD Kernel Interfaces Manual EPAIR(4)
NAME
epair -- A pair of virtual back-to-back connected Ethernet interfaces.
SYNOPSIS
To compile this driver into the kernel, place the following line in your kernel configuration file:
device epair
Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5):
if_epair_load="YES"
DESCRIPTION
The epair is a pair of Ethernet-like software interfaces, which are connected back-to-back with a virtual cross-over cable.
Each epair interface pair is created at runtime using interface cloning. This is most easily done with the ifconfig(8) create command or
using the cloned_interfaces variable in rc.conf(5). While for cloning you only give either epair or epair<n> the epair pair will be named
like epair<n>[ab]. This means the names of the first epair interfaces will be epair0a and epair0b.
Like any other Ethernet interface, an epair needs to have a network address. Each epair will be assigned a locally administered address by
default, that is only guaranteed to be unique within one network stack. To change the default addresses one may use the SIOCSIFADDR ioctl(2)
or ifconfig(8) utility.
The basic intend is to provide connectivity between two virtual network stack instances. When connected to a if_bridge(4) one end of the
interface pair can also be part of another (virtual) LAN. As with any other Ethernet interface one can configure vlan(4) support on top of
it.
SEE ALSO
ioctl(2), altq(4), bpf(4), if_bridge(4), vlan(4), loader.conf(5,) rc.conf(5), ifconfig(8)
HISTORY
The epair interface first appeared in FreeBSD 8.0.
AUTHORS
The epair interface was written by Bjoern A. Zeeb, CK Software GmbH, under sponsorship from the FreeBSD Foundation.
BSD
July 26, 2009 BSD