Visit Our UNIX and Linux User Community


Full duplex at HUB?


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Full duplex at HUB?
# 1  
Old 09-01-2002
Full duplex at HUB?

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.

I can force all ports to be fullduplex but doesn't mean it's going to connect at that.

What would be the best way to see what connection speed it would be running at the hub to the computer?

Smilie

Thx in advance

Smilie
merlin
# 2  
Old 09-02-2002
so far i know are hubs always half-duplex (switches are most tiems full duplex).this is because they make your network that way that it looks like that all connections are on the same line. if you send with one computer something to the hub they all recieve it.
# 3  
Old 09-02-2002
Re: Full duplex at HUB?

Quote:
Originally posted by merlin
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.
You can execute the command `ifconfig -a` to get a list of current status. On my FreeBSD machine, for example:

Code:
rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 10.0.0.103 netmask 0xff000000 broadcast 10.255.255.255
        inet6 aa00::123:0abb:fe00:81f3%rl0 prefixlen 64 scopeid 0x1
        ether 00:00:00:00:00:00
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active

I can see that my NIC, rl0 is running at 100 Mbit currently set to full-duplex.
# 4  
Old 09-03-2002
Yes your both right. Sorry though I should have explained myself a little better.

There something like ndd -a or some type of command that you can use to see what speed the connection between a hub or a switch is.

I'm not sure of the command and the more I look into it the more I get myself lost (though I do find out good things to do with Solaris Smilie )

Does anyone know of a way that can tell you the connection speed between teh NIC and the hub/switch?

I'm running Soalris 7

Smilie
merlin
# 5  
Old 09-03-2002
Here is some stuff from my SunOS notes. Note that other OS'es will probably handle stuff like this differently.

You can see the settings for the interface card with:
ndd -get /dev/hme link_speed
(0=10 mb and 1=100 mb)
ndd -get /dev/hme link_mode
(0=half and 1 = full)

But this doesn't mean that the hub port is in agreement. Hubs that can switch speeds and duplexes with have some way to check the port.

You want 100 mb and full-duplex. Usually the speed will be right. But often the duplex is wrong. You don't want to use autonegotiation, it fails too often.

If your interface card has the wrong settings, you can fix without a reboot by doing:

ndd -set /dev/hme instance 0
ndd -set /dev/hme adv_100T4_cap 0
ndd -set /dev/hme adv_100fdx_cap 1
ndd -set /dev/hme adv_100hdx_cap 0
ndd -set /dev/hme adv_10hdx_cap 0
ndd -set /dev/hme adv_autoneg_cap 0
(The last one will take a few seconds.)

The permanent fix so things will be cool after next reboot is to add some lines to /etc/system:
set hme:hme_adv_autoneg_cap=0
set hme:hme_adv_100T4_cap=0
set hme:hme_adv_100fdx_cap=1
set hme:hme_adv_100hdx_cap=0
set hme:hme_adv_10fdx_cap=0
set hme:hme_adv_10hdx_cap=0
 

Previous Thread | Next Thread
Test Your Knowledge in Computers #907
Difficulty: Easy
The Unix shell command line is a sequence of ASCII text words delimited by curly braces.
True or False?

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

100Mb/s full duplex link

Hi, I have been trying to connect two computers directly through their LAN cards. One is a 3com 3c905c 10/100 Mbit/s card and the other is an Intel i217-lm 10/100/1000Mbit/s card. I have connected them through a CAT 6 cable. Whenever autoneg is turned on, the PCs connect in the 10Mb/s mode, and... (7 Replies)
Discussion started by: jamie_123
7 Replies

2. Solaris

How to find half duplex or full duplex

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

3. UNIX for Advanced & Expert Users

How to set full duplex for solaris 5.5

I would like to change half duplex to full duplex on solaris 5.5. I tried with below commands but they didnt work on solaris 5.5. #ndd -set /dev/le adv_100fdx_cap 1 (6 Replies)
Discussion started by: csreenivas
6 Replies

4. SuSE

configure full duplex

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

5. Solaris

How to force a full duplex

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

6. Solaris

100 gigabit full duplex

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

7. Programming

full -duplex ?

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

8. UNIX for Dummies Questions & Answers

Full Duplex Howto

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

9. UNIX for Dummies Questions & Answers

How to configure Full Duplex and TCP/IP

We are using ZIX 4.3.3 and we need to configure the NIC for ful duplexing and we also need to configure it for a TCP/IP default gateway and DNS server to acccess the Interent. Can you please tell me the commands and procedures for configuring this? Thanks Marc (2 Replies)
Discussion started by: marc3483
2 Replies

10. IP Networking

Problems switching to Full Duplex

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

Featured Tech Videos