Skip to content

Instantly share code, notes, and snippets.

@b-meson
Created September 11, 2017 21:46
Show Gist options
  • Save b-meson/3651f01943ac2d355596c0ecf8296724 to your computer and use it in GitHub Desktop.
Save b-meson/3651f01943ac2d355596c0ecf8296724 to your computer and use it in GitHub Desktop.
<interfaces>
<wan>
<enable/></enable>
<if>igb0</if>
<ipaddr>dhcp</ipaddr>
<ipaddrv6>dhcp6</ipaddrv6>
<gateway/></gateway>
<blockpriv>on</blockpriv>
<blockbogons>on</blockbogons>
<media/></media>
<mediaopt/></mediaopt>
<dhcp6-duid/></dhcp6-duid>
<dhcp6-ia-pd-len>0</dhcp6-ia-pd-len>
</wan>
<lan>
<enable/></enable>
<if>igb1</if>
<ipaddr>10.20.1.1</ipaddr>
<subnet>24</subnet>
<ipaddrv6>track6</ipaddrv6>
<subnetv6>64</subnetv6>
<media/></media>
<mediaopt/></mediaopt>
<track6-interface>wan</track6-interface>
<track6-prefix-id>0</track6-prefix-id>
</lan>
<opt1>
<if>igb2</if>
<descr><![CDATA[OPT1]]</descr>
<enable/></enable>
<ipaddr>10.20.2.1</ipaddr>
<subnet>24</subnet>
<spoofmac/>
</opt1>
<opt2>
<if>igb3</if>
<descr><![CDATA[OPT2]]</descr>
<enable/></enable>
<spoofmac/>
<ipaddr>10.20.3.1</ipaddr>
<subnet>24</subnet>
</opt2>
</interfaces>
@b-meson
Copy link
Author

b-meson commented Sep 11, 2017

nterfaces.xml

igb0 dhcp dhcp6 on on 0 igb1 10.20.1.1 24 track6 64 wan 0 igb2 10.20.2.1 24 igb3 10.20.3.1 24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment