News: This forum is now permanently frozen.
Pages: [1]
Topic: 1.8.1b540 - Hard-setting Full-Duplex fails...  (Read 2008 times)
« on: May 03, 2013, 20:09:36 »
Lee Sharp *****
Posts: 517

I am running 1.8.1b540 in semi-production.  (Production, but not user facing)  And it is suffering the usual "Cisco can't do autonegiotiation" issue...  So I hard set it in the config file.

Code:
    <interfaces>
        <lan>
            <if>em0</if>
            <ipaddr>192.168.50.1</ipaddr>
            <subnet>24</subnet>
            <media/>
            <mediaopt/>
        </lan>
        <wan>
            <if>em1</if>
            <media/>
            <mediaopt>full-duplex</mediaopt>
            <spoofmac/>
            <ipaddr>206.xxx.xxx.18</ipaddr>
            <subnet>28</subnet>
            <gateway>206.xxx.xxx.17</gateway>
        </wan>
    </interfaces>


But in the GUI and in the CLI it is back to half-duplex...

Code:
em1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
    options=4219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC,VLAN_HWTSO>
    ether 00:25:90:67:79:f9
    inet 206.xxx.xxx.18 netmask 0xfffffff0 broadcast 206.xxx.xxx.31
    inet6 xxxx::xxx:xxxx:xxxx:xxxx%em1 prefixlen 64 scopeid 0x2
    nd6 options=41<PERFORMNUD,NO_RADR>
    media: Ethernet autoselect (100baseTX <half-duplex>)
    status: active

Is this a known bug, user error, or new surprise?
« Reply #1 on: May 07, 2013, 22:40:56 »
Lee Sharp *****
Posts: 517

Andrew found it.  You need <media> defined if you want to use <mediaopt> in the config.

Code:
         <wan>
             <if>em1</if>
             <media>100BaseTX</media>
             <mediaopt>full-duplex</mediaopt>
             <spoofmac/>
             <ipaddr>206.xxx.xxx.18</ipaddr>
             <subnet>28</subnet>
             <gateway>206.xxx.xxx.17</gateway>
         </wan>
 
Pages: [1]
 
 
Powered by SMF 1.1.20 | SMF © 2013, Simple Machines