Find the answer to your Linux question:
Results 1 to 9 of 9
i cant find my routers ip and i have been looking all over the web and have tried the default ones for my router. i have a 2701HG-B 2WIRE857 this ...
  1. #1
    Just Joined!
    Join Date
    Feb 2008
    Posts
    15

    How do i find my routers ip?

    i cant find my routers ip and i have been looking all over the web and have tried the default ones for my router. i have a

    2701HG-B

    2WIRE857

    this is my ifconfig output

    Code:
    desktop:/home/robert# ifconfig
    eth0      Link encap:Ethernet  HWaddr 00:11:09:25:FD:04
              inet addr:192.168.1.72  Bcast:192.168.1.255  Mask:255.255.255.0
              inet6 addr: fe80::211:9ff:fe25:fd04/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:177577 errors:0 dropped:0 overruns:0 frame:0
              TX packets:104734 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:236701897 (225.7 MiB)  TX bytes:8854922 (8.4 MiB)
              Interrupt:193 Base address:0xc400
    
    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:65 errors:0 dropped:0 overruns:0 frame:0
              TX packets:65 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:3714 (3.6 KiB)  TX bytes:3714 (3.6 KiB)

  2. #2
    Linux Newbie
    Join Date
    Jan 2008
    Location
    UK
    Posts
    211
    Your router ip address I would have thought would be your default gateway. mine is 192.168.1.1 - which gets me into the router config.

  3. #3
    Just Joined!
    Join Date
    Feb 2008
    Posts
    15
    how do i find my default gateway?

  4. #4
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,281
    You log into the device that your linux box is connected to and look at its LAN address.

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  5. #5
    Trusted Penguin jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    4,071
    Quote Originally Posted by rob1101 View Post
    how do i find my default gateway?
    Try typing 'route' in a terminal. Should give you what you need.
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to Private Messages asking for Linux help. Please, keep it on the public boards.

  6. #6
    Linux Newbie
    Join Date
    Jan 2008
    Location
    UK
    Posts
    211
    Just an apology

    Sorry not have got back to you about this, as I decided to destroy my Linux distro. just after I wrote the entry. Why I did this is still a mystery to me!

  7. #7
    Trusted Penguin elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    2,298
    Quote Originally Posted by jayd512 View Post
    Try typing 'route' in a terminal. Should give you what you need.
    This needs to be done as root.
    If we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)


    My new blog. It's probably not as good as I think it is.

  8. #8
    Linux Newbie
    Join Date
    Feb 2006
    Location
    KP22
    Posts
    106
    Quote Originally Posted by elija View Post
    This needs to be done as root.
    Well, not on all systems. For example on my own box it shows routes for my normal user when I just give the command with absolute path:
    Code:
    /sbin/route
    And as an addition, the router can be read from Gateway column from the row where Destination is "default"
    Code:
    Destination   Gateway         Genmask         Flags Metric Ref    Use Iface
    default       172.29.24.254   0.0.0.0         UG    0      0        0 eth0

  9. #9
    Trusted Penguin elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    2,298
    You're quite right. If it type /sbin/route it works as me rather than route, sorry root
    If we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)


    My new blog. It's probably not as good as I think it is.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...