Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 574565 Details for
Bug 803752
ifup-eth and ifdown-eth incorrectly handle bridged devices and unreliably build and tear down tunnels for TAP devices
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
Some examples of common net config files
examples (text/plain), 5.43 KB, created by
Steve Willoughby
on 2012-04-02 17:20:56 UTC
(
hide
)
Description:
Some examples of common net config files
Filename:
MIME Type:
Creator:
Steve Willoughby
Created:
2012-04-02 17:20:56 UTC
Size:
5.43 KB
patch
obsolete
>Some examples of typical network config files: > >HWADDR is the MAC address of the network card and is (usually) set >by the configuration program. UUID is a unique ID also (usually) set >by the configuration program or manually generated by uuidgen. > >------------------------------------------------------------------------------- >single LAN I/F eth0 > ifcfg-lo > DEVICE=lo > IPADDR=127.0.0.1 > NETMASK=255.0.0.0 > NETWORK=127.0.0.0 > # If you're having problems with gated making 127.0.0.0/8 a martian, > # you can change this to something else (255.255.255.255, for example) > BROADCAST=127.255.255.255 > ONBOOT=yes > NAME=loopback > > ifcfg-eth0 > HWADDR="00:19:DB:64:90:11" > UUID="5dd47203-fffb-671a-4fd0-4cff98347a3b" > IPV4_FAILURE_FATAL="yes" > NM_CONTROLLED="no" > #BOOTPROTO="dhcp" > DEVICE="eth0" > TYPE="Ethernet" > ONBOOT="yes" > NAME="eth0" > IPV6INIT="no" > BOOTPROTO="none" > IPADDR=192.168.1.15 > PREFIX=24 > DEFROUTE="yes" > PEERDNS="yes" > PEERROUTES="yes" > >------------------------------------------------------------------------------- >Multiple LAN interfaces eth0+eth1 bridged together in bridge br0 > Bridge br0 is a typical name for the bridge. A second bridge would be br1. > > ifcfg-lo > DEVICE=lo > IPADDR=127.0.0.1 > NETMASK=255.0.0.0 > NETWORK=127.0.0.0 > # If you're having problems with gated making 127.0.0.0/8 a martian, > # you can change this to something else (255.255.255.255, for example) > BROADCAST=127.255.255.255 > ONBOOT=yes > NAME=loopback > > ifcfg-eth0 > HWADDR="00:19:DB:64:90:11" > UUID="5dd47203-fffb-671a-4fd0-4cff98347a3b" > NM_CONTROLLED="no" > DEVICE="eth0" > TYPE="Ethernet" > ONBOOT="yes" > NAME="eth0" > BOOTPROTO="none" > BRIDGE=br0 > > ifcfg-eth1 > HWADDR="00:19:DB:64:90:22" > UUID="5dd47203-fffb-671a-87db-4ef67b32fb8c" > NM_CONTROLLED="no" > DEVICE="eth1" > TYPE="Ethernet" > ONBOOT="yes" > NAME="eth1" > BOOTPROTO="none" > BRIDGE=br0 > > ifcfg-br0 > UUID="5dd47203-fffb-671a-4fd0-4cff78fcde6b" > DEVICE="br0" > NAME="br0" > TYPE="Bridge" > ONBOOT="yes" > #BOOTPROTO="dhcp" > BOOTPROTO="none" > IPADDR=192.168.1.15 > PREFIX=24 > DEFROUTE="yes" > PEERDNS="yes" > PEERROUTES="yes" > IPV4_FAILURE_FATAL="yes" > IPV6INIT="no" > >------------------------------------------------------------------------------- >LAN interface eth0 bridged with VPN tunnel tap0 in bridge br0 > ifcfg-lo > DEVICE=lo > IPADDR=127.0.0.1 > NETMASK=255.0.0.0 > NETWORK=127.0.0.0 > # If you're having problems with gated making 127.0.0.0/8 a martian, > # you can change this to something else (255.255.255.255, for example) > BROADCAST=127.255.255.255 > ONBOOT=yes > NAME=loopback > > ifcfg-eth0 > HWADDR="00:19:DB:64:90:11" > UUID="5dd47203-fffb-671a-4fd0-4cff98347a3b" > NM_CONTROLLED="no" > DEVICE="eth0" > TYPE="Ethernet" > ONBOOT="yes" > NAME="eth0" > # don't assign address - this is done on bridge interface > BOOTPROTO="none" > BRIDGE=br0 > # make sure that each device in the bridge has the SAME MTU value > MTU=1490 > > ifcfg-tap0 > # Tunnel virtual device - must be configured on each boot > UUID="5dd47203-fffb-671a-87db-4ef67b32fb8c" > NM_CONTROLLED="no" > # name of the tunnel device - same as the file name ifcfg-xxx (i.e. tap0) > DEVICE="tap0" > TYPE="Tap" > ONBOOT="yes" > NAME="eth1" > # don't assign address - this is done on bridge interface > BOOTPROTO="none" > BRIDGE=br0 > # make sure that each device in the bridge has the SAME MTU value > MTU=1490 > > > ifcfg-br0 > UUID="5dd47203-fffb-671a-4fd0-4cff78fcde6b" > DEVICE="br0" > NAME="br0" > TYPE="Bridge" > ONBOOT="yes" > #BOOTPROTO="dhcp" > BOOTPROTO="none" > IPADDR=192.168.1.15 > PREFIX=24 > USERCTL="yes" > DEFROUTE="yes" > PEERDNS="yes" > PEERROUTES="yes" > IPV4_FAILURE_FATAL="yes" > IPV6INIT="no" > # make sure that each device in the bridge has the SAME MTU value > MTU=1490 > >------------------------------------------------------------------------------- >Single LAN I/F listening on multiple addresses (virtual services or VLANS) > ifcfg-lo > DEVICE=lo > IPADDR=127.0.0.1 > NETMASK=255.0.0.0 > NETWORK=127.0.0.0 > # If you're having problems with gated making 127.0.0.0/8 a martian, > # you can change this to something else (255.255.255.255, for example) > BROADCAST=127.255.255.255 > ONBOOT=yes > NAME=loopback > > ifcfg-eth0 > HWADDR="00:19:DB:64:90:11" > UUID="5dd47203-fffb-671a-4fd0-4cff98347a3b" > IPV4_FAILURE_FATAL="yes" > NM_CONTROLLED="no" > #BOOTPROTO="dhcp" > DEVICE="eth0" > TYPE="Ethernet" > ONBOOT="yes" > NAME="eth0" > IPV6INIT="no" > BOOTPROTO="none" > IPADDR=192.168.1.15 > PREFIX=24 > DEFROUTE="yes" > PEERDNS="yes" > PEERROUTES="yes" > > ifcfg-eth0_1 > DEVICE="eth0:1" > NM_CONTROLLED="no" > TYPE="Ethernet" > BOOTPROTO="none" > PREFIX=24 > DNS1=208.67.220.220 > DNS2=208.67.222.222 > IPV4_FAILURE_FATAL=yes > IPV6INIT=no > NAME="System eth0:1" > DEFROUTE="yes" > PEERDNS="yes" > PEERROUTES="yes" > USERCTL=no > IPADDR=192.168.1.69 > GATEWAY=192.168.1.1 > ONPARENT=no > > ifcfg-eth0_2 > DEVICE="eth0:2" > NM_CONTROLLED="no" > TYPE="Ethernet" > BOOTPROTO="none" > PREFIX=27 > DNS1=208.67.220.220 > DNS2=208.67.222.222 > DEFROUTE=yes > IPV4_FAILURE_FATAL=yes > IPV6INIT=no > NAME="System eth0:2" > USERCTL=no > IPADDR=192.168.2.10 > NETMASK=255.255.255.0 > GATEWAY=192.168.2.1 > ONPARENT=no
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 803752
:
570318
| 574565 |
574570