[leaf-user] How to show default gateway IP?

2003-06-16 Thread M Lu
Hi, What command in Bering should I use to get the default-gateway IP (and possibly the DNSes) for the interface eth0 which gets a dynamic IP from the ISP? Thank you. M Lu. --- This SF.NET email is sponsored by: eBay Great deals on office

Re: [leaf-user] How to show default gateway IP?

2003-06-16 Thread Ray Olszewski
At 10:24 AM 6/16/2003 -0700, M Lu wrote: Hi, What command in Bering should I use to get the default-gateway IP (and possibly the DNSes) for the interface eth0 which gets a dynamic IP from the ISP? By get, do you mean that after this information is on the router (by way of a DHCP lease or PPPoE

Re: [leaf-user] How to show default gateway IP?

2003-06-16 Thread M Lu
something similar to Win2K's 'ipconfig /all'. I tried 'ip' but do not know which parameter I should use to show gateway. M Lu. - Original Message - From: Ray Olszewski [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 16, 2003 10:36 AM Subject: Re: [leaf-user] How to show default

Re: [leaf-user] How to show default gateway IP?

2003-06-16 Thread Mike Noyes
On Mon, 2003-06-16 at 11:04, M Lu wrote: I would like to see the information, not to set or change it. 'netstat' is not installed by default in Bering, and /etc/resolv.conf does not contain the ISP DNSes by default, either. I can install 'netstat' or look inside log files of DHCP client. I

Re: [leaf-user] How to show default gateway IP?

2003-06-16 Thread Mike Noyes
On Mon, 2003-06-16 at 11:38, Mike Noyes wrote: M Lu, Iproute2 (ip) is now the standard for Linux. # ip route show ref. Linux Advanced Routing Traffic Control HOWTO http://www.tldp.org/HOWTO/Adv-Routing-HOWTO/lartc.iproute2.html M Lu, You may find this reference of use also. Linux

Re: [leaf-user] How to show default gateway IP?

2003-06-16 Thread Ray Olszewski
At 11:04 AM 6/16/2003 -0700, M Lu wrote: Thank you Ray, I would like to see the information, not to set or change it. 'netstat' is not installed by default in Bering, and /etc/resolv.conf does not contain the ISP DNSes by default, either. I can install 'netstat' or look inside log files of DHCP

Re: [leaf-user] How to show default gateway IP?

2003-06-16 Thread M Lu
- From: Ray Olszewski [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 16, 2003 12:13 PM Subject: Re: [leaf-user] How to show default gateway IP? At 11:04 AM 6/16/2003 -0700, M Lu wrote: Thank you Ray, I would like to see the information, not to set or change it. 'netstat

Re: [leaf-user] How to show default gateway IP?

2003-06-16 Thread Ray Olszewski
At 12:37 PM 6/16/2003 -0700, M Lu wrote: By default, Bering is using dnscache and so /etc/resolv.conf has 192.168.1.254. Seems to me that ISP's DNSes are not used at all if you do not change settings in dnscache. dnscache still works because it uses root DNSes. Correct me if I am wrong. This all

Re: [leaf-user] How to show default gateway IP?

2003-06-16 Thread Jacques Nilo
Le Lundi 16 Juin 2003 21:37, M Lu a écrit : By default, Bering is using dnscache and so /etc/resolv.conf has 192.168.1.254. Seems to me that ISP's DNSes are not used at all if you do not change settings in dnscache. dnscache still works because it uses root DNSes. Correct me if I am wrong.

Re: [leaf-user] How to show default gateway IP?

2003-06-16 Thread Jeff Newmiller
On Mon, 16 Jun 2003, Jacques Nilo wrote: Le Lundi 16 Juin 2003 21:37, M Lu a écrit : By default, Bering is using dnscache and so /etc/resolv.conf has 192.168.1.254. Seems to me that ISP's DNSes are not used at all if you do not change settings in dnscache. dnscache still works because it

Re: [leaf-user] How to show default gateway IP?

2003-06-16 Thread Jacques Nilo
Le Lundi 16 Juin 2003 23:00, Jeff Newmiller a écrit : On Mon, 16 Jun 2003, Jacques Nilo wrote: Le Lundi 16 Juin 2003 21:37, M Lu a écrit : By default, Bering is using dnscache and so /etc/resolv.conf has 192.168.1.254. Seems to me that ISP's DNSes are not used at all if you do not

Re: [leaf-user] How to show default gateway IP?

2003-06-16 Thread Jacques Nilo
Le Lundi 16 Juin 2003 23:15, Jacques Nilo a écrit : Oops. You do not touch the pump stuff. FORWARDONLY=YES shuold be enough and your resolv.conf still points to 192.168.1.254 Jacques Well this is I guess the paranoid idea behind using dnscache: if you start from the root servers you do not have

Re: [leaf-user] How to show default gateway IP?

2003-06-16 Thread Jacques Nilo
Le Lundi 16 Juin 2003 23:15, Jacques Nilo a écrit : Oops. You do not touch the pump stuff. FORWARDONLY=YES shuold be enough and your resolv.conf still points to 192.168.1.254 JN Well this is I guess the paranoid idea behind using dnscache: if you start from the root servers you do not have the

Re: [leaf-user] How to show default gateway IP?

2003-06-16 Thread Brad Fritz
Apologies in advance if this was already mentioned or does not apply, I haven't been following the list as closely as I would like recently... On Mon, 16 Jun 2003 13:07:20 MST Ray Olszewski wrote: At 12:37 PM 6/16/2003 -0700, M Lu wrote: By default, Bering is using dnscache and so