Securing and Optimizing Linux:RedHat Edition | All about OS

Configuring TCP/IP Networking manually with the command line

Категория: Securing and Optimizing

The output should look something like this:
ethO Link encap:Ethernet HWaddr00:E0:18:90:1 B:56
inetaddr:208.164.186.2 Bcast:208.164.186.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1295 errors:0 dropped:0 overruns:0 frame:O
TX packets:1163 errors:0 dropped:0 overruns:0 carrier:O
collisions:0 txqueuelen:100
Interrupts 1 Base address:0xa800
eth1 Link encap:Ethernet HWaddr00:E0:18:90:1 B:56
inetaddr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTUM500 Metric:1 RX packets:1295 errors:0 dropped:0 overruns:0 frame:O TX packets:1163 errors:0 dropped:0 overruns:0 carrierO collisions:0 txqueuelen:100 Interrupts Base address:0xa320
lo Link encap:Local Loopback
inetaddr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:3924 Metric:1
RX packets:139 errors:0 dropped:0 overruns:0 frame:O
TX packets:139 errors:0 dropped:0 overruns:0 carrierO
collisions:0 txqueuelen:O
NOTE: It is important to note that the settings configured with the ifconfig toll for your network devices will not survive a reboot.
• To assign the default gateway for 208.164.186.1 use the command: [root@deep /]# route add default gw 208.164.186.1

Страниц: 1 2 3 4 5

« Files related to networking functionality
Networking Firewall.Linux IPCHAINS »