Networking Forums

Networking Forums > Computer Networking > Linux Networking > Linux equivalent to ipconfig /all

Reply
Thread Tools Display Modes

Linux equivalent to ipconfig /all

 
 
IANAL_VISTA
Guest
Posts: n/a

 
      11-21-2004, 01:53 PM
I suspect I need to use the netstat command,
but I can't find the desired combination of
command line qualifiers to produce a display
similar to Windoze

ipconfig /all

Specifcally if I have a Fedora box whose network
is setup via DHCP how can I see its IP#, default
router IP# & DNS servers?
 
Reply With Quote
 
 
 
 
Martin Blume
Guest
Posts: n/a

 
      11-21-2004, 01:56 PM
"IANAL_VISTA" schrieb
> I suspect I need to use the netstat command,
> but I can't find the desired combination of
> command line qualifiers to produce a display
> similar to Windoze
>
> ipconfig /all
>
> Specifcally if I have a Fedora box whose network
> is setup via DHCP how can I see its IP#, default
> router IP# & DNS servers?
>


ifconfig

HTH
Martin

 
Reply With Quote
 
jafar
Guest
Posts: n/a

 
      11-21-2004, 03:12 PM
I demand that on Sun, 21 Nov 2004 14:53:17 +0000, IANAL_VISTA may or may
not have written:

> I suspect I need to use the netstat command,
> but I can't find the desired combination of
> command line qualifiers to produce a display
> similar to Windoze


What does windows display when you type ipconfig /all ?

--
Jafar Calley
-----BEGIN GEEK CODE BLOCK-----
d+ s-:+ a C++++ L++ E--- W++ N++ w-- PE- t* 5++ R+ !tv D+ G e* h---- x?
------END GEEK CODE BLOCK------
Registered Linux User #359623
http://fatcat.homelinux.org

 
Reply With Quote
 
Kimmo Koivisto
Guest
Posts: n/a

 
      11-21-2004, 04:15 PM
IANAL_VISTA wrote:

> I suspect I need to use the netstat command,
> but I can't find the desired combination of
> command line qualifiers to produce a display
> similar to Windoze
>
> ipconfig /all
>
> Specifcally if I have a Fedora box whose network
> is setup via DHCP how can I see its IP#, default
> router IP# & DNS servers?


Is this what you need?
#ifconfig ; route; cat /etc/resolv.conf

Regards
Kimmo Koivisto
 
Reply With Quote
 
Bit Twister
Guest
Posts: n/a

 
      11-21-2004, 04:16 PM
On Sun, 21 Nov 2004 14:53:17 GMT, IANAL_VISTA wrote:
> I suspect I need to use the netstat command,
> but I can't find the desired combination of
> command line qualifiers to produce a display
> similar to Windoze
>
> ipconfig /all
>
> Specifcally if I have a Fedora box whose network
> is setup via DHCP how can I see its IP#, default
> router IP# & DNS servers?


You can look at what is provided by your dhcp client, 2 examples
cat /etc/dhcpc/dhcpcd-eth0.info # dhcpcd dhcp info
cat /var/lib/dhcp/dhclient-eth0.leases # dhclient dhcp info

You can see what the system uses with
route # line with G is gateway
cat /etc/resolv.conf # contains DNS servers
ifconfig # your ip address
hostname # hostname
 
Reply With Quote
 
Bill Unruh
Guest
Posts: n/a

 
      11-21-2004, 05:21 PM

]On Sun, 21 Nov 2004 14:53:17 GMT, IANAL_VISTA wrote:
]> I suspect I need to use the netstat command,
]> but I can't find the desired combination of
]> command line qualifiers to produce a display
]> similar to Windoze
]>
]> ipconfig /all

ifconfig -a
route -n
cat /etc/resolv.conf

]>
]> Specifcally if I have a Fedora box whose network
]> is setup via DHCP how can I see its IP#, default
]> router IP# & DNS servers?
 
Reply With Quote
 
Bruce Richardson
Guest
Posts: n/a

 
      11-21-2004, 09:05 PM
IANAL_VISTA <(E-Mail Removed)> wrote:
> I suspect I need to use the netstat command,
> but I can't find the desired combination of
> command line qualifiers to produce a display
> similar to Windoze
>
> ipconfig /all


Check to see if you have the ip tool installed (part of the iproute or
iproute2 package). It should be at /bin/ip or /sbin/ip. If that is
present, you can do

ip address show
ip route show

The DNS details are in /etc/resolv.conf

--
Bruce

Hierophant: someone who remembers, when you are on the way down,
everything you did to them on the way up.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux equivalent of packeteer? Daz Linux Networking 0 05-10-2008 11:41 AM
What is the linux equivalent of windows 'ipconfig' ? llothar Linux Networking 15 06-04-2006 03:14 AM
Equivalent of NetMeter for Linux Shevek Broadband 2 01-28-2006 03:44 PM
Looking for *nix (esp. Linux) equivalent of IO Completion Ports... WTH Linux Networking 3 08-20-2005 02:38 AM
Solaris ndd command equivalent in Linux Rao Kosaraju Linux Networking 1 12-10-2003 09:10 AM



1 2 3 4 5 6 7 8 9 10 11