12-10-2009
Check the man pages for ethtool
9 More Discussions You Might Find Interesting
1. IP Networking
We run Compaq UNIX Tru64 5.1.
After a switch got replaced our ethernet-card was magically set to
half duplex!
We saw, that the card was set to Autonegotiate:
vmunix: ee1: Autonegotiated, 100 Mbps full duplex
So we set the card with ifconfig to 100 Mbps full duplex with the
following... (3 Replies)
Discussion started by: arn_ch
3 Replies
2. UNIX for Dummies Questions & Answers
Ok at the moment I have a hub whit 5 computers connected to it. It's a 10/100 NetGear hub.
Ok I heard that there is some command I can run or a file I edit or something like that. But what the command/file/script/whatever does is tells you what connect speed it's connecting to the hub to.
... (4 Replies)
Discussion started by: merlin
4 Replies
3. UNIX for Dummies Questions & Answers
Dear Members,
I was reading a few posts and saw something about installing two Nics so one could use Full Duplex. I remember back in the day of dial up, you could have two modems and use one for upstream and one for downstream. This was called shotgunning. It seems that you can now do the same... (4 Replies)
Discussion started by: Phobos
4 Replies
4. Programming
what is meant by full duplex and half duplex?
b'coz in differences b\w hub and switch ,i heard lot this duplex word
so please help me (1 Reply)
Discussion started by: parvathy
1 Replies
5. Solaris
How can I tell on Solaris 9 sparc if my nics are running 100 gigabit full duplex... (4 Replies)
Discussion started by: csaunders
4 Replies
6. Red Hat
All,
I have a RedHat 9 box which I need to figure out how to get it to stay in full duplex mode after a reboot.
I have tried
ethtool -s eth0 speed 100 duplex full autoneg off
I have tried to add a line to the /etc/sysconfig/network-scripts/ifcfg-eth0 like this:
ETHTOOL_OPTS="speed... (4 Replies)
Discussion started by: bubba112557
4 Replies
7. Solaris
I need to change some Ip addresses for my servers to reflect in the NIS map.
I also need to force full duplex on the 10/100 cards & 1/2 duplex in the 10 cards.
I can change the IP by doing ifconfig <NIC card > plumb up <newip>.
Not quite sure on how to force the full / half duplex & how to... (2 Replies)
Discussion started by: Remi
2 Replies
8. SuSE
How do I configure full duplex on suse 8.2
I tried
ethtool -s eth0 speed 100 duplex full autoneg off
the above works but when I reboot the machine the configure was lost.
How do I configure full duplex so that when the machine get rebooted the configuration will stay.
My interface... (4 Replies)
Discussion started by: hassan2
4 Replies
9. Solaris
Hi,
How to find whether the server is running with half duplex or full duplex. I tried with the following command ndd -get /dev/ but am not getting any output,. Is the command correct?
Also let me know how to change from half to full duplex. (1 Reply)
Discussion started by: rogerben
1 Replies
veth(4) Linux Programmer's Manual veth(4)
NAME
veth - Virtual Ethernet Device
DESCRIPTION
The veth devices are virtual Ethernet devices. They can act as tunnels between network namespaces to create a bridge to a physical network
device in another namespace, but can also be used as standalone network devices.
veth devices are always created in interconnected pairs. A pair can be created using the command:
# ip link add <p1-name> type veth peer name <p2-name>
In the above, p1-name and p2-name are the names assigned to the two connected end points.
Packets transmitted on one device in the pair are immediately received on the other device. When either devices is down the link state of
the pair is down.
veth device pairs are useful for combining the network facilities of the kernel together in interesting ways. A particularly interesting
use case is to place one end of a veth pair in one network namespace and the other end in another network namespace, thus allowing communi-
cation between network namespaces. To do this, one first creates the veth device as above and then moves one side of the pair to the other
namespace:
# ip link set <p2-name> netns <p2-namespace>
ethtool(8) can be used to find the peer of a veth network interface, using commands something like:
# ip link add ve_A type veth peer name ve_B # Create veth pair
# ethtool -S ve_A # Discover interface index of peer
NIC statistics:
peer_ifindex: 16
# ip link | grep '^16:' # Look up interface
16: ve_B@ve_A: <BROADCAST,MULTICAST,M-DOWN> mtu 1500 qdisc ...
SEE ALSO
clone(2), network_namespaces(7), ip(8), ip-link(8), ip-netns(8)
COLOPHON
This page is part of release 4.15 of the Linux man-pages project. A description of the project, information about reporting bugs, and the
latest version of this page, can be found at https://www.kernel.org/doc/man-pages/.
Linux 2018-02-02 veth(4)