Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

if_edsc(4) [debian man page]

EDSC(4) 						   BSD Kernel Interfaces Manual 						   EDSC(4)

NAME
edsc -- Ethernet discard network interface SYNOPSIS
device edsc DESCRIPTION
The edsc interface is a software discard mechanism which may be used for performance analysis and software testing. It imitates an Ethernet device, which allows for its use in conjunction with such drivers as if_bridge(4) and vlan(4). As with other network interfaces, an edsc interface must have network addresses assigned for each address family with which it is to be used. These addresses may be set or changed with the SIOCSIFADDR ioctl(2) or ifconfig(8) utility. Each edsc interface 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). SEE ALSO
ioctl(2), arp(4), if_bridge(4), inet(4), intro(4), vlan(4), rc.conf(5), arp(8), ifconfig(8) HISTORY
The edsc device was derived from the disc(4) device and first appeared in FreeBSD 6.3. This manpage was adapted from disc(4). CAVEATS
Since outgoing packets are just discarded by edsc, ARP requests stay unreplied. Consequently, an IP packet cannot be sent via edsc until a static arp(4) entry is created for its next hop using arp(8). Initially an edsc interface has a zero link level address. It can be changed with ifconfig(8) lladdr if needed. BSD
March 25, 2007 BSD

Check Out this Related Man Page

LO(4)                                                      BSD Kernel Interfaces Manual                                                      LO(4)

NAME
lo -- software loopback network interface SYNOPSIS
device loop DESCRIPTION
The loop interface is a software loopback mechanism which may be used for performance analysis, software testing, and/or local communication. As with other network interfaces, the loopback interface must have network addresses assigned for each address family with which it is to be used. These addresses may be set or changed with the SIOCSIFADDR ioctl(2). The loopback interface should be the last interface configured, as protocols may use the order of configuration as an indication of priority. The loopback should never be configured first unless no hard- ware interfaces exist. If the transmit checksum offload capability flag is enabled on a loopback interface, checksums will not be generated by IP, UDP, or TCP for packets sent on the interface. If the receive checksum offload capability flag is enabled on a loopback interface, checksums will not be validated by IP, UDP, or TCP for packets received on the interface. By default, both receive and transmit checksum flags will be enabled, in order to avoid the overhead of checksumming for local communication where data corruption is unlikely. If transmit checksum generation is disabled, then validation should also be disabled in order to avoid packets being dropped due to invalid checksums. DIAGNOSTICS
lo%d: can't handle af%d. The interface was handed a message with addresses formatted in an unsuitable address family; the packet was dropped. SEE ALSO
inet(4), intro(4) HISTORY
The lo device appeared in 4.2BSD. The current checksum generation and validation avoidance policy appeared in FreeBSD 8.0. BSD March 15, 2009 BSD
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Why do I have to cd into /sbin to get to ifconfig?

I have to cd into /sbin in order to use ifconfig to check out my network cards. This has only started to happen since I downloaded the last update from RedHat(The machine runs RedHat 8.0). Does anyone know what happened? More importantly, are there any sources that can help me with this... (3 Replies)
Discussion started by: Jody
3 Replies

2. UNIX for Dummies Questions & Answers

networking question

Whats up All! Im fairly new to unix and i have a question. I was looking at my ifconfig -a on my server and my prompt, which was just my hostname, sudenly changed to one of my network interfaces(ge0). Does anyone know how to change that back? Also when i type in the hostname command it spits out... (4 Replies)
Discussion started by: lewisoco
4 Replies

3. Solaris

Before plumb the network interface.....

I know that I could use the #ifconfig hme0 plumb to activate the network interface. However, how can I know the name of the interface e.g. hme0 before I could use the ifconfig to plumb it up? I know there is a command (but I forgot it) to use in the Sparc version when you are in the... (7 Replies)
Discussion started by: heero
7 Replies

4. UNIX for Dummies Questions & Answers

Cannot boot machine

I have a sun v240 running solaris 9. I recently changed the ip via the ifconfig command but made a mistake when running the command: ifconfig bge0 (ip address) netmask (ip address) when i meant to do: ifconfig bge0 (ip address) netmask ffff0000 broadcast (ip address) Now when I boot the... (4 Replies)
Discussion started by: GLJ@USC
4 Replies

5. IP Networking

Setting primary ip address with ifconfig

Hello, I have a server with two ip addresses. I need to make the ip address that's currently the secondary the primary. How do I use the ifconfig command and primary option? Thanks. (5 Replies)
Discussion started by: pmichner
5 Replies

6. Shell Programming and Scripting

ifconfig!!!!

why the ifconfig command is not working in my machine? it says "-bash: ifconfig: command not found" why its says that? actually i m looking for "how can I know the Network Interface Card physical address?" Requesting u all for help. thanks (3 Replies)
Discussion started by: moco
3 Replies

7. UNIX for Dummies Questions & Answers

HOW TO Changing ip address advice

Hi, I am new to solars admin. My company want to change the ip adress presently it is 10 series they want to 20 serices i have done like this 1) #ifconfig -a (to check the interface) 2) #ifconfig <interface> new ipaddress up 3) #vi /etc/hosts 20.*.*.* wq! presently my version is 9 please... (3 Replies)
Discussion started by: phatan
3 Replies

8. Solaris

Getting interface names using code

Is there a way to use code to get the interface names for a Solaris machine. I can easily see them on a command line with the "ifconfig -a" command. I could write a script that parses these out of a the ifconfig result and outputs them to a file, and then I run the script with the system command... (13 Replies)
Discussion started by: herbmiller
13 Replies

9. Shell Programming and Scripting

how grep the inet address for in ifconfig command

hi, i want to know how to grep inet address for below below is the output of ifconfig command /home/JA> ifconfig eth0 Link encap:Ethernet HWaddr 00:11:0A:5B:2E:E9 inet addr:161.239.203.18 Bcast:161.239.203.127 Mask:255.255.255.128 UP BROADCAST RUNNING... (3 Replies)
Discussion started by: mail2sant
3 Replies

10. Solaris

ifconfig primary & standby purpose

I have two ethernet interfaces nge0 and nge1. An IP assigned on nge0 is 10.10.10.1/24 and on nge1 is 20.20.20.1/24. I want to make nge0 as primary interface. My question here is, 1. Being nge0 as primary interface, if I ping to an IP 20.20.20.5, what will happen? 2. If the answer for the... (4 Replies)
Discussion started by: nthiruvenkatam
4 Replies

11. Programming

[C] Change IP and MAC address

Hello, I need to write a program using C language which allow me to change the IP and MAC addresses of a given interface... Now I fork the process and by exec I'm using the "ifconfig interf X.X.X.X" command... but i can't use this solution because i have to avoid the context switch... Can someone... (4 Replies)
Discussion started by: gilby985
4 Replies

12. UNIX for Advanced & Expert Users

arp questions

Can someone please explain this output to me. Why doesn't ifconfig show the same info? ~ $ arp -a ? (10.71.0.1) at 00:1b:21:2b:eb:0c on eth0 (4 Replies)
Discussion started by: cokedude
4 Replies

13. War Stories

What arp -s is good for

A customer appears to have drastically misunderstood our instructions for connecting to our WAN. He set his PC IP address to the same as one of the bridges. :mad: :wall: This caused much confusion on the network, to put it mildly. He called to complain about the poor performance of the network... (13 Replies)
Discussion started by: Corona688
13 Replies

14. HP-UX

Are you allowed to use the same vswitch for 2 separate HPVMs?

Can you use the same vswitch for multiple HPVMs? The reason I ask is because I created a vswitch and assigned it to one hpvm, and I was able to get it on the network. Then I created a second hpvm and used the same vswitch, and I am able to ssh/sftp TO the second hpvm, but I am unable to ping... (8 Replies)
Discussion started by: bstring
8 Replies

15. Shell Programming and Scripting

Using sed or awk

I have a .txt file with almost few hundreds interfaces address which need to be changed or mapped to the new interface naming convention. for e.g interface xe-8/0/0 should be xe-16/0/0 xe-9/0/0 should be xe-17/0/0 it keeps going to xe-31/0/0 which should become xe-55/0/0. i wanted to know... (12 Replies)
Discussion started by: Jared
12 Replies