<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Supporting Open Source weblog: Netwerk interface vast instellen op gigabit full duplex</title>
    <link>https://blog.sos.be/articles/2008/01/30/netwerk-interface-vast-instellen-op-gigabit-full-duplex</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description></description>
    <item>
      <title>Netwerk interface vast instellen op gigabit full duplex</title>
      <description>&lt;p&gt;Met &lt;code&gt;ethtool&lt;/code&gt; kan je de instellingen van een netwerkinterface wijzigen.&lt;/p&gt;


&lt;pre&gt;
ethtool -s eth0 speed 1000 duplex full autoneg off
&lt;/pre&gt;

	&lt;p&gt;Dit is duidelijk genoeg, en dit is het resultaat:&lt;/p&gt;


&lt;pre&gt;
ethtool eth0
Settings for eth0:
        Supported ports: [ TP ]
        Supported link modes:   10baseT/Half 10baseT/Full 
                                100baseT/Half 100baseT/Full 
                                1000baseT/Half 1000baseT/Full 
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full 
                                100baseT/Half 100baseT/Full 
                                1000baseT/Half 1000baseT/Full 
        Advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full
        Port: Twisted Pair
        PHYAD: 0
        Transceiver: internal
        Auto-negotiation: off
        Supports Wake-on: pg
        Wake-on: g
        Current message level: 0x00000037 (55)
        Link detected: yes
&lt;/pre&gt;

	&lt;p&gt;Maar de instellingen zijn niet permanent. Om ze permanent te maken bij het herstarten of bij het opbrengen van de interface kan je best &lt;code&gt;/etc/network/interfaces&lt;/code&gt; aanpassen. Een &lt;code&gt;pre-up&lt;/code&gt; lijn toevoegen.&lt;/p&gt;


&lt;pre&gt;
iface eth0 inet static
pre-up /usr/sbin/ethtool -s $IFACE speed 1000 duplex full autoneg off
address 123.456.789.123
netmask 255.255.255.0
gateway 123.456.789.254

...
...
&lt;/pre&gt;</description>
      <pubDate>Wed, 30 Jan 2008 21:29:00 +0100</pubDate>
      <guid isPermaLink="false">urn:uuid:d09165d4-a61f-4ee0-b044-05f906b68ffb</guid>
      <author>Paul Verreth</author>
      <link>https://blog.sos.be/articles/2008/01/30/netwerk-interface-vast-instellen-op-gigabit-full-duplex</link>
      <category>ubuntu</category>
      <category>linux</category>
    </item>
  </channel>
</rss>
