• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Force full duplex on PPPoE client enabled NIC

Scheduled Pinned Locked Moved General pfSense Questions
5 Posts 2 Posters 2.7k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T
    Tele
    last edited by Dec 4, 2011, 11:40 AM

    I'm having trouble with a nic with enabled PPPoE client; i need to force the nic to full duplex but editing the config.xml doesn't work.. i can use ifconfig bg0 media 100baseT mediaopt full-duplex, but i'd like a permanent solution.

    http://doc.pfsense.org/index.php/Forcing_Interface_Speed_or_Duplex_Settings

    Non-working edited config.xml:

    
     <wan><if>pppoe3</if>
    <bandwidth>100</bandwidth>
    <bandwidthtype>Mb</bandwidthtype>
     <spoofmac><blockpriv><blockbogons><enable><ipaddr>pppoe</ipaddr>
    <mss>1452</mss>
    <media>100baseT</media>
    <mediaopt>full-duplex</mediaopt></enable></blockbogons></blockpriv></spoofmac></wan> 
    

    Any hints on how to save the duplex setting?

    1 Reply Last reply Reply Quote 0
    • S
      stephenw10 Netgate Administrator
      last edited by Dec 4, 2011, 12:32 PM

      You are trying to set the pppoe interface to full duplex rather than the bg0 interface which it runs on.
      Try editing the config again but put the entry in the section for <if>bg0</if>.

      Bare in mind that switching an interface away from 'autoselect' can cause problems.

      Steve

      1 Reply Last reply Reply Quote 0
      • T
        Tele
        last edited by Dec 4, 2011, 1:44 PM

        Ok, that makes sense  :), but the section <if>bg0</if> doesn't exist yet. Can i manually create this section?

        1 Reply Last reply Reply Quote 0
        • S
          stephenw10 Netgate Administrator
          last edited by Dec 4, 2011, 2:00 PM

          You shouldn't create it manually, it's far too easy to make a mistake and end up with a corrupt config file.
          If it doesn't exist you can assign it as an additional interface in the web GUI and a section will be created in the file.
          Instructions for doing this, for a different reason, can be found here: http://doc.pfsense.org/index.php/Accessing_modem_from_inside_firewall#For_2.0

          In your case it doesn't much matter what IP setting you give the interface, as long as it's not in the same subnet as your LAN or WAN.

          I expected a section to be in the config file already but having checked my own file I see it is not.

          Steve

          1 Reply Last reply Reply Quote 0
          • T
            Tele
            last edited by Dec 4, 2011, 3:28 PM

            thanks, this method works perfectly. Even without assigning an ip to the interface. And you can change the duplex setting directly in the gui! :)

            1 Reply Last reply Reply Quote 0
            5 out of 5
            • First post
              5/5
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
              This community forum collects and processes your personal information.
              consent.not_received