Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Network/ethernet card configuration file

Editing file /etc/network/interfaces

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
address w.x.y.z
netmask 255.255.255.248
gateway w.x.y.u
dns-nameservers a.b.c.d
metric 1
post-up iptables-restore < /etc/iptables.up.rules

#Secondary network interface
auto eth1
iface eth1 inet static
address 10.1.5.1
netmask 255.255.255.0
network 10.1.5.0
broadcast 10.1.5.255
metric 2



This post first appeared on RED HAT ENTERPRISE LINUX, please read the originial post: here

Share the post

Network/ethernet card configuration file

×

Subscribe to Red Hat Enterprise Linux

Get updates delivered right to your inbox!

Thank you for your subscription

×