not getting gateway information.
Hi,
I am trying to findout my Lan card informaion...as i can do on windows box by "ipconfig /all" command. i m using "ifconfig" but this is only displaying the ipaddress and subnet mask inforamtion. how to get the gateway and dns information as well ? Any idea? (I m on Linux Red Hat 6.2 Platform) Bye. Tusher. |
For routing (gateway):
route -n For DNS: cat /etc/resolv.conf |
but david,
I m using two netcard..for ip masquarding purpose.....one has internal ip: 192.168.0.1 and another has external: external ip. I remember i used same gateway for both of them.. but from the command "route -n" i m not getting appropriate answer. thank for the reply. |
"i m not getting appropriate answer."
You aren't betting what you expected? Post the output of: route -n and the output /details as you expect them. |
All times are GMT -5. The time now is 03:13 PM. |