1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to find out wan address

Discussion in 'Sveasoft Firmware' started by dfoderick, Mar 13, 2005.

  1. dfoderick

    dfoderick Guest

    How can I programatically find out the wan address of my router.
  2. Disman_ca

    Disman_ca Super Moderator Staff Member Member

  3. jotne

    jotne Network Guru Member

  4. grcore

    grcore Network Guru Member

    You mean in a script?

    # Get WAN IP and put it in var WANIP
    WANIP=`nvram get wan_ipaddr`
  5. howardp6

    howardp6 Network Guru Member

    There are hidden webpages that detail the information on a WRT54G. Where is the IP address of your router, in your browser enter it will give you the MAC Addresses and other information. It gives the WAN, KLAN and RF MAC addresses.

Share This Page