My Community Dashboard

  • In the working situation with a switch in between I have this:

    content of ifcfg-enp4s0:

    DEVICE=enp4s0
    BOOTPROTO="none"
    ONBOOT="no"


    content of ifcfg-ppp0:
    DEVICE=ppp0
    TYPE="xDSL"
    USERCTL="no"
    BOOTPROTO="dialup"
    NAME="DSLppp0"
    ONBOOT="yes"
    PIDFILE="/var/run/pppoe-ppp0.pid"
    FIREWALL="NONE"
    PING="."
    PPPOE_TIMEOUT="80"
    LCP_FAILURE="5"
    LCP_INTERVAL="20"
    CLAMPMSS="1412"
    CONNECT_POLL="6"
    CONNECT_TIMEOUT="80"
    DEFROUTE="yes"
    SYNCHRONOUS="no"
    ETH="enp4s0"
    PROVIDER="DSLppp0"
    PEERDNS="no"
    USER="(remover mac)@internet"
    LINUX_PLUGIN="/usr/lib64/pppd/2.4.5/rp-pppoe.so"
    MTU="1508"



    Then I can configure it without the switch in two order, do I use one there is a file ifcfg-enp4s0 the other tis file doesn't exists.
    content of ifcfg-enp4s0:
    DEVICE=enp4s0
    BOOTPROTO="none"
    ONBOOT="no"


    content of ifcfg-enp4s0.6:
    DEVICE=enp4s0.6
    TYPE="VLAN"
    ONBOOT="yes"
    USERCTL="no"
    BOOTPROTO="dhcp"
    PEERDNS="no"
    VLAN="yes"


    content of ifcfg-ppp0:
    DEVICE=ppp0
    TYPE="xDSL"
    USERCTL="no"
    BOOTPROTO="dialup"
    NAME="DSLppp0"
    ONBOOT="yes"
    PIDFILE="/var/run/pppoe-ppp0.pid"
    FIREWALL="NONE"
    PING="."
    PPPOE_TIMEOUT="80"
    LCP_FAILURE="5"
    LCP_INTERVAL="20"
    CLAMPMSS="1412"
    CONNECT_POLL="6"
    CONNECT_TIMEOUT="80"
    DEFROUTE="yes"
    SYNCHRONOUS="no"
    ETH="enp4s0"
    PROVIDER="DSLppp0"
    PEERDNS="no"
    USER="(remover mac)@internet"
    LINUX_PLUGIN="/usr/lib64/pppd/2.4.5/rp-pppoe.so"
    MTU="1508"


    When ifcfg-enp4s0 exists ifcfg-ppp0 is has ETH="enp4s0" if it doesn't ETH="enp4s0.6"