Results 1 to 15 of 92

Thread: Info regarding "WAN dies"

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #11
    Join Date
    Jul 2004
    Location
    Russia, Moscow
    Posts
    15
    Yes, `ifconfig eth1 10.0.2.7 broadcast 10.0.2.255` restores WAN port, but it breaks default gateway record in the routing table, so i have to do `route add default gw 10.0.2.1` to restore it (10.0.2.7 - WAN IP, 10.0.2.1 - gate's IP).

    btw, i've noticed that the router sets broadcast adress wrong - 10.255.255.255 instead of 10.0.2.255 (my mask is 255.255.255.0) and i have found no way to set it properly in the Web-interface, only by typing`ifconfig eth1 10.0.2.7 broadcast 10.0.2.255 mask 255.255.255.0` directly.

    and i did as you had asked:

    ~ # nslookup www.google.com
    *** Unknown host

    nslookup: www.google.com: Unknown host
    ~ # for a in 0 1 2 3 4 5 6 7 16 17 18 19 20 21 22 23 24 28 29 30; do echo -n "$a:$(et -i eth1 phyrd $a) "; done; echo
    0:0x3000 1:0x786d 2:0x0022 3:0x5521 4:0x01e1 5:0x45e1 6:0x0007 7:0x2801 16:0x1800 17:0x006d 18:0x0f90 19:0x0000 20:0xc0b0 21:0x0003 22:0x0fdf 23:0x8001 24:0xb65c 28:0x0044 29:0x1000 30:0x3a60
    ~ # et -i eth1 up
    ~ # sleep 2s
    ~ # nslookup www.google.com
    *** Unknown host

    nslookup: www.google.com: Unknown host
    ~ # sleep 5s
    ~ # for a in 0 1 2 3 4 5 6 7 16 17 18 19 20 21 22 23 24 28 29 30; do echo -n "$a:$(et -i eth1 phyrd $a) "; done; echo
    0:0x3000 1:0x786d 2:0x0022 3:0x5521 4:0x01e1 5:0x45e1 6:0x0005 7:0x2801 16:0x1800 17:0x0000 18:0x0e99 19:0x0000 20:0xc0b0 21:0x0003 22:0x0fdf 23:0x8001 24:0x4abf 28:0x0044 29:0x1000 30:0x3a60
    ~ # et -i eth1 speed auto
    ~ # sleep 2s
    ~ # nslookup www.google.com
    Server: gate2.maryno.yes
    Address: 10.0.2.1

    Name: www.google.akadns.net
    Address: 216.239.59.147
    ~ # sleep 5s
    ~ # for a in 0 1 2 3 4 5 6 7 16 17 18 19 20 21 22 23 24 28 29 30; do echo -n "$a:$(et -i eth1 phyrd $a) "; done; echo
    0:0x3000 1:0x786d 2:0x0022 3:0x5521 4:0x01e1 5:0x45e1 6:0x0007 7:0x2801 16:0x1800 17:0x006d 18:0x0f90 19:0x0000 20:0xc0b0 21:0x0002 22:0x0fdf 23:0x8001 24:0xb65c 28:0x0044 29:0x1000 30:0x3a60
    ~ #

    I think nslookup isn't a good choice to test the connection, cos timeout is *TOO* long, imho `ping -c 1 host` is much better.
    Last edited by Nominus; 11-07-2004 at 11:48.

Similar Threads

  1. "Ethernet bridge" and "Station" ???
    By arch in forum WL-500g Custom Development
    Replies: 3
    Last Post: 29-10-2005, 09:08
  2. Replies: 1
    Last Post: 26-03-2005, 22:34
  3. Replies: 1
    Last Post: 17-02-2005, 08:22
  4. Something similar like the "wan port dies" issue
    By Aldert1 in forum WL-500g Q&A
    Replies: 56
    Last Post: 18-08-2004, 06:03
  5. FYI: PPPoE "instability" info from other forum
    By daffy in forum WL-500g Custom Development
    Replies: 1
    Last Post: 11-08-2004, 19:21

Posting Permissions

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