There is no standard command to do that; since Linux uses multiple layers of daemons and tools to configure networking, the information is spread around a bit.
To get all of the TCP/IP information, you can just use ifconfig. If you want to see the DNS servers, run the command:
Code:
cat /etc/resolv.conf
To see the primary router (or gateway), use the command: