reddazz/
Thanks for your reply.
And I have another question.
How to know primary dns and secondary dns?
This is "ifconfig and route".
Quote:
root@:/root>ifconfig
eth0 Link encap:Ethernet HWaddr 00:0F:20:98:0A:FC
inet addr:204.xxx.xx.28 Bcast:204.xxx.xx.255 Mask:255.255.255.0
inet6 addr: 2002:cbfa:3862:b:xxx:xxxx:xxxx:afc/64 Scope:Global
inet6 addr: 2002:cbfa:2974:b:xxx:xxxx:xxxx:afc/64 Scope:Global
inet6 addr: 2002:cbfa:383c:b:xxx:xxxx:xxxx:afc/64 Scope:Global
inet6 addr: 2002:7511:f8c6:b:xxx:xxxx:xxxx:afc/64 Scope:Global
inet6 addr: 2002:7511:f818:b:xxx:xxxx:xxxx:afc/64 Scope:Global
inet6 addr: fe80::xxx:xxxx:xxxx:afc/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2975577 errors:0 dropped:0 overruns:0 frame:0
TX packets:1585611 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:251084951 (239.4 MiB) TX bytes:2139852966 (1.9 GiB)
Interrupt:177
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:45455 errors:0 dropped:0 overruns:0 frame:0
TX packets:45455 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:27343823 (26.0 MiB) TX bytes:27343823 (26.0 MiB)
root@:/root>route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
204.xxx.xx.0 * 255.255.255.0 U 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth0
default 204.xxx.xx.1 0.0.0.0 UG 0 0 0 eth0
|