This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

New Astaro install, spotty internet connectivity

Hey, everybody.  I'm a first-time Astar installee, and I'm having some problems with the product.  I'll describe my problem first, then inundate you with specs and data [:)]

After my install, I set up my interfaces, set up my NAT/masquerading, and set up a basic packet filter rule.  I can ping web sites both by IP and by name all day long, no problem.  I can also receive mail, no problem.  Browsing web sites, however, is problematic.  About half of the web sites I visit fail to ever show anything in my browser window (although I can ping them fine).  The other half VEERY SLOOOOWLY resolve the page's text and empty image placeholders, then eventually just time out.

(Fortunately, for some reason, the Astaro site is working perfectly.  Go figure.)

I can plug one of my client computers directly into the Internet and get super-fast normal browsing, so I think the problem behavior is in the Astaro box.

Hardware:
Intel P3/500MHz
256MB RAM
ETH0 & ETH1: Netgear FA311 (DP83815 controller)

Network goes Internet (Earthlink cable) -> Astaro box -> Linksys BEFSR81 with all router functionality/DHCP/everything disabled (just acting as a switch) -> computers

Eth0: 10.10.10.1 / 255.255.255.0, Gateway: 10.10.10.1
Eth1: 24.238.168.11 / 255.255.252.0, Gateway: 24.238.168.1

My Network = 10.10.10.0/24

Masq:
My Network -> All / All   MASQ__External 

Packet rule:
My Network / Any / Any / Allow

Any help would be appreciated--other than this, I love the product!  


This thread was automatically locked due to age.
Parents
  • More information:

    I appear to have no inbound bandwidth--that appears to be the reason why web pages resolve to text and tables very quickly, but images timeout.  Some quick-n-dirty testing shows that I'm getting less than 1KB/sec of download bandwidth.

    Plugging my computer directly into the cable modem and physically bypassing the Astaro box yields normal speeds.

    Interestingly, upload bandwidth doesn't appear to be affected.  I can FTP a file to an Internet site at ~60KB/sec (which is normal for my cable modem connection), but my download bandwidth is all wonked up.

    Interesting.  Weird, but interesting.      

    edit -- This is with 2048 specified in the external ethernet bandwidth options.
  • pokrface,

    sounds like a mtu problem. The following link describes the problem and offers a solution.

    http://www.cisco.com/warp/public/794/router_mtu.html

    Hope that does the trick
    cyclops
     

    Have to add that you it shouldn't be nescessary to change any interface parameter on Astaro itself.
  • cyclops,

    Thanks for the reply.  Per the Cisco page, I've gone in and adjusted both my main computer's MTU and Astaro's external MTU to the following sets of values, one after the other, rebooting both my PC and the Astarobox in between changes:

    PC / Astarobox
    1492 / 1452
    1452 / 1412
    1412 / 1372
    1400 / 1360

    Unfortunately, none of the MTU changes appeared to have any effect on my PC's connectivity.

    Any other suggestions?  
  • in this case I would restore the old settings. What else could be the reason, hmm SPOOF drop may be an option, pls check the kernel log file for the expression 'SPOOF' if you find it you'd have to correct your network/adress setup, if not try to use the http proxy to see if it works as supposed to. Is it maybe possible that you have assigned multiple default gateways? If yes remove all except the needed one on the external interface.

    Greetings
    cyclops

       
  • Cyclops,

    I have a pair of kernel logs files; one for today and one for yesterday (I guess that makes sense, since I set everything up yesterday!)

    Both log files have a LOT of entries that look like this:

    Code:
     
    Aug 23 20:46:38 (none) kernel: UDP Drop: IN=eth1 OUT= MAC=ff:ff:ff:ff:ff:ff:00:03:6c:4a:c4:54:08:00
    SRC=10.55.128.1 DST=255.255.255.255 LEN=346 TOS=0x00 PREC=0x00 TTL=255 ID=25745
    PROTO=UDP SPT=67 DPT=68 LEN=326



    I have an entry like that occuring roughly every three seconds, all day long.  A tracert to anywhere goes from my box to my Astaro box to 10.55.128.1 and then out onto the public internet, so I'm assuming that the 10.55 box is a piece of equipment belonging to my internet provider.  I'm on cable, so it's not a DSLAM or anything like that, but it's gotta be some kind of cable-modem equivalent.

    Today's logs have much the same thing in them.  I do have a few instances of "SPOOF" showing up this morning and this morning only; specifically, entries that look like this:

    Code:

    Aug 24 10:47:23 (none) kernel: IP-SPOOFING Drop: IN=eth0 OUT= MAC=01:00:5e:7f:ff:fa:00:08:c7[:D]b:a4[:D]4:08:00
    SRC=24.238.170.230 DST=239.255.255.250 LEN=161 TOS=0x00 PREC=0x00 TTL=1 ID=16 PROTO=UDP
    SPT=3011 DPT=1900 LEN=141



    What should I do to correct my network/address setup?

    I believe I do have multiple gateways assigned--I check that under Network -> Interfaces, correct?  If so, my External NIC has the gateway assigned by the cable modem company through DHCP, and my internal NIC has the Astarobox's address as the gateway.

    However, I just changed that from static/192.168.1.1 to None, and it does not appear to have affected my internet performance.    
Reply
  • Cyclops,

    I have a pair of kernel logs files; one for today and one for yesterday (I guess that makes sense, since I set everything up yesterday!)

    Both log files have a LOT of entries that look like this:

    Code:
     
    Aug 23 20:46:38 (none) kernel: UDP Drop: IN=eth1 OUT= MAC=ff:ff:ff:ff:ff:ff:00:03:6c:4a:c4:54:08:00
    SRC=10.55.128.1 DST=255.255.255.255 LEN=346 TOS=0x00 PREC=0x00 TTL=255 ID=25745
    PROTO=UDP SPT=67 DPT=68 LEN=326



    I have an entry like that occuring roughly every three seconds, all day long.  A tracert to anywhere goes from my box to my Astaro box to 10.55.128.1 and then out onto the public internet, so I'm assuming that the 10.55 box is a piece of equipment belonging to my internet provider.  I'm on cable, so it's not a DSLAM or anything like that, but it's gotta be some kind of cable-modem equivalent.

    Today's logs have much the same thing in them.  I do have a few instances of "SPOOF" showing up this morning and this morning only; specifically, entries that look like this:

    Code:

    Aug 24 10:47:23 (none) kernel: IP-SPOOFING Drop: IN=eth0 OUT= MAC=01:00:5e:7f:ff:fa:00:08:c7[:D]b:a4[:D]4:08:00
    SRC=24.238.170.230 DST=239.255.255.250 LEN=161 TOS=0x00 PREC=0x00 TTL=1 ID=16 PROTO=UDP
    SPT=3011 DPT=1900 LEN=141



    What should I do to correct my network/address setup?

    I believe I do have multiple gateways assigned--I check that under Network -> Interfaces, correct?  If so, my External NIC has the gateway assigned by the cable modem company through DHCP, and my internal NIC has the Astarobox's address as the gateway.

    However, I just changed that from static/192.168.1.1 to None, and it does not appear to have affected my internet performance.    
Children
  • Engaging the web proxy (transparent or normal) results in slightly improved performance.  I can actually see most web pages, instead of most web pages just timing out.  However, images still mostly time out and web performance is still slow--like, worse than 56k modem slow.  I can't give any numbers, because speed tests (like the one at DSLReports) just time out and give up.   

    edit--Ooooh, the DSLReports speed test actually DID complete!  It looks like my upload bandwidth is 340KBps, and my download bandwith is 9bps.  Yeah, that's right, nine BITS per second.

    I can type faster than that.  [:)]
  • Try taking the router/swith out altogether just for testing if you can.

    Have you tried downloading something using an FTP client and seen what speed you are getting on the download ?

    Possibly try a different NIC ?
     
  • I can't take the router/switch out of the equation because I don't have another hub handy, nor do I have a crossover cable.  I can borrow a hub from work tomorrow for testing, though.

    FTP yields the same results as HTTP--full upload bandwidth, nearly nonexistant download bandwidth.

    I don't have any other NICs to test with, though I can try to scrounge something from a buddy.  Should I put new NICs in the firewall and re-install, or in my PC instead?  
  • pokrface,

    packets from the internal network can be read at the external interface, this means that the internal network is also physically connected to the external.
    However this cannot work so you have to dissolve this loop. Best way to eliminate this error would be to use a crossover cable to the modem/router or whatever.

    Greetings
    cyclops   
  • Cyclops,

    I'm not sure I understand.  Do you mean that I should connect my cable modem to my external NIC with a crossover cable, or that I should connect my internal NIC to my switch with a crossover cable, or that I should connect my internal NIC directly to a test computer with a crossover cable?

    Currently, I have my cable modem connected to my external NIC with a regular cable, and then my internal NIC connected to my switch (not to an uplink port, but to a regular port) with a regular cable, and then my internal network computers also connected to the switch.  Is this incorrect?  
  • I've borrowed a crossover cable from work and have connected my test PC directly to my Astarobox's internal NIC, thus eliminating the Linksys router/switch from the picture, and there has been no change in the problem behavior.  
  • [ QUOTE ]
    Cyclops,

    I have a pair of kernel logs files; one for today and one for yesterday (I guess that makes sense, since I set everything up yesterday!)

    Both log files have a LOT of entries that look like this:

    Code:
     
    Aug 23 20:46:38 (none) kernel: UDP Drop: IN=eth1 OUT= MAC=ff:ff:ff:ff:ff:ff:00:03:6c:4a:c4:54:08:00
    SRC=10.55.128.1 DST=255.255.255.255 LEN=346 TOS=0x00 PREC=0x00 TTL=255 ID=25745
    PROTO=UDP SPT=67 DPT=68 LEN=326



    I have an entry like that occuring roughly every three seconds, all day long.  A tracert to anywhere goes from my box to my Astaro box to 10.55.128.1 and then out onto the public internet, so I'm assuming that the 10.55 box is a piece of equipment belonging to my internet provider.  I'm on cable, so it's not a DSLAM or anything like that, but it's gotta be some kind of cable-modem equivalent.

    Today's logs have much the same thing in them.  I do have a few instances of "SPOOF" showing up this morning and this morning only; specifically, entries that look like this:

    Code:

    Aug 24 10:47:23 (none) kernel: IP-SPOOFING Drop: IN=eth0 OUT= MAC=01:00:5e:7f:ff:fa:00:08:c7[:D]b:a4[:D]4:08:00
    SRC=24.238.170.230 DST=239.255.255.250 LEN=161 TOS=0x00 PREC=0x00 TTL=1 ID=16 PROTO=UDP
    SPT=3011 DPT=1900 LEN=141



    What should I do to correct my network/address setup?

    I believe I do have multiple gateways assigned--I check that under Network -> Interfaces, correct?  If so, my External NIC has the gateway assigned by the cable modem company through DHCP, and my internal NIC has the Astarobox's address as the gateway.

    However, I just changed that from static/192.168.1.1 to None, and it does not appear to have affected my internet performance.     

    [/ QUOTE ]

    The first kernel message refers to bootp / dhcp requests and the second is some type of multicast application - if that means anything to you.

    I would try checking layer1 and 2  first ... run "ifconfig -a" and check the following:  make sure that you aren't running any errors on the NIC cards , check the MTU is set correctly , and make sure you aren't running collisions if the NICS are "supposed" to be running full-duplex (if they are hdx then collisions are normal).

    Allow traceroute through the firewall (using WebAdmin) , then run a tracert -d www.google.com and make sure there is no Layer3 / routing loop. You can also check the reponse / turnaround time at each hop.

    If the Layer1-2-3 all appear OK , I would check the Proxy settings on ASL ... try using transparent ... enable / disable caching ... enable / disable Java blocking ect. Also make sure that you don't have a proxy set in IE / Netscape (if you are using transparent proxy in ASL)

    Hope that helps.
      
  • I would try checking layer1 and 2 first ... run "ifconfig -a" and check the following: make sure that you aren't running any errors on the NIC cards , check the MTU is set correctly , and make sure you aren't running collisions if the NICS are "supposed" to be running full-duplex (if they are hdx then collisions are normal).

    I don't speak *nix too well, but I'm currently downloading Putty so that I can ssh into the box directly and try ifconfig.  Mozilla reports that the 348KB download will be done in four hours.  I should probably plug the cable modem directly into my computer and stop torturing myself, but it's so mind-blowing to see download times the likes of which I've not run into since my BBS days... [:)]

    The NICs should be full duplex...at least, I haven't messed with any configuration options to change whatever Astaro auto-configured.

    A tracert from my test box to google yields the following...
    Code:

    Tracing route to www.google.com [216.239.33.99]
    over a maximum of 30 hops:

      1    


    ...which looks kosher to me.

    I am already using transparent proxy, since it seems to help a little bit with the web (it makes most pages at least start to download, instead of most pages timing out).  Fiddling with cache and java options produce no changes in the problem behavior.   
  • Try posting your interface stats .... Goto : WebAdmin --> Reporing --> Network.

      
  • Interface stats:

    Code:

    Total concurrent connections - Overview of the day
    Maximum: 285 Average: 16 Current: 4

    External - Network traffic - Overview of the day
    Max  In:   91720 Bits/s       Avg  In:   64136 Bits/s       Cur  In:   64920 Bits/s
    Max Out:   16120 Bits/s       Avg Out:   648 Bits/s       Cur Out:   128 Bits/s

    Internal - Network traffic - Overview of the day
    Max  In:   19560 Bits/s       Avg  In:   760 Bits/s       Cur  In:   88 Bits/s
    Max Out:   307496 Bits/s     Avg Out:   8208 Bits/s     Cur Out:   88 Bits/s


    System Interfaces
    eth0      Link encap:Ethernet  HWaddr 00:09:5B:1F:2B:91  
              inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
              UP BROADCAST RUNNING MULTICAST  MTU:1360  Metric:1
              RX packets:12487 errors:0 dropped:0 overruns:0 frame:0
              TX packets:18582 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:100 
              Interrupt:11 Base address:0x7000 

    eth1      Link encap:Ethernet  HWaddr 00:09:5B:1F:2A:A9  
              inet addr:24.238.168.11  Bcast:255.255.255.255  Mask:255.255.252.0
              UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1360  Metric:1
              RX packets:2030158 errors:1355 dropped:0 overruns:0 frame:2710
              TX packets:7910 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:100 
              Interrupt:10 Base address:0x9000

    lo        Link encap:Local Loopback  
              inet addr:127.0.0.1  Mask:255.0.0.0
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:5481 errors:0 dropped:0 overruns:0 frame:0
              TX packets:5481 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0 

    ARP table
     

    Address HWtype HWaddress     Flags Mask   Iface
    192.168.1.110           ether   00:08:C7[[:D]]B:A4[[:D]]4   C                     eth0
    24.238.171.118          ether   00:03:6C:4A:C4:70   C                     eth1
    24.238.168.1            ether   00:03:6C:4A:C4:54   C                     eth1


    Local network connections
     

    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address           Foreign Address         State      
    tcp        0      0 127.0.0.1:15723         0.0.0.0:*               LISTEN      
    tcp        0      0 0.0.0.0:8080            0.0.0.0:*               LISTEN      
    tcp        0      0 0.0.0.0:8081            0.0.0.0:*               LISTEN      
    tcp        0      0 127.0.0.1:53            0.0.0.0:*               LISTEN      
    tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      
    tcp        0      0 0.0.0.0:25              0.0.0.0:*               LISTEN      
    tcp        0      0 127.0.0.1:12345         0.0.0.0:*               LISTEN      
    tcp        0      0 0.0.0.0:443             0.0.0.0:*               LISTEN      
    tcp        0      0 192.168.1.1:8080        192.168.1.110:2288      ESTABLISHED 
    tcp        0      0 192.168.1.1:8080        192.168.1.110:2289      ESTABLISHED 
    tcp        0      0 192.168.1.1:8080        192.168.1.110:2353      TIME_WAIT   
    tcp        0      0 192.168.1.1:8080        192.168.1.110:2354      ESTABLISHED 
    tcp        0      0 127.0.0.1:12345         127.0.0.1:34099         TIME_WAIT   
    tcp        0      0 127.0.0.1:12345         127.0.0.1:34100         TIME_WAIT   
    tcp        0      0 127.0.0.1:12345         127.0.0.1:34132         TIME_WAIT   
    tcp        0      0 127.0.0.1:12345         127.0.0.1:34101         TIME_WAIT   
    tcp        0      0 127.0.0.1:12345         127.0.0.1:34133         TIME_WAIT   
    tcp        0      0 192.168.1.1:8080        192.168.1.110:2357      ESTABLISHED 
    tcp        0      0 127.0.0.1:12345         127.0.0.1:34102         TIME_WAIT   
    tcp        0      0 127.0.0.1:12345         127.0.0.1:34134         TIME_WAIT   
    tcp        0      0 192.168.1.1:8080        192.168.1.110:2358      TIME_WAIT   
    tcp        0      0 127.0.0.1:12345         127.0.0.1:34103         TIME_WAIT   
    tcp        0      0 127.0.0.1:12345         127.0.0.1:34135         TIME_WAIT   
    tcp        0      0 127.0.0.1:12345         127.0.0.1:34104         TIME_WAIT   
    tcp        0      0 192.168.1.1:8080        192.168.1.110:2361      ESTABLISHED 
    tcp        0      0 192.168.1.1:443         192.168.1.110:2372      ESTABLISHED 
    tcp        0      0 127.0.0.1:12345         127.0.0.1:34106         TIME_WAIT   
    tcp        0      0 192.168.1.1:8080        192.168.1.110:2362      ESTABLISHED 
    tcp        0      0 127.0.0.1:12345         127.0.0.1:34107         TIME_WAIT   
    tcp        0      0 192.168.1.1:8080        192.168.1.110:2363      TIME_WAIT   
    tcp        0      0 127.0.0.1:12345         127.0.0.1:34108         TIME_WAIT   
    tcp        0      0 192.168.1.1:8080        192.168.1.110:2364      ESTABLISHED 
    tcp        0      0 24.238.168.11:34127     128.242.218.125:80      ESTABLISHED 
    tcp        0      0 24.238.168.11:34126     128.242.218.125:80      ESTABLISHED 
    tcp        0      0 127.0.0.1:12345         127.0.0.1:34109         TIME_WAIT   
    tcp        0      0 192.168.1.1:8080        192.168.1.110:2365      ESTABLISHED 
    tcp        0      0 192.168.1.1:8080        192.168.1.110:2333      TIME_WAIT   
    tcp        0      0 127.0.0.1:12345         127.0.0.1:34110         TIME_WAIT   
    tcp        0      0 127.0.0.1:34105         127.0.0.1:15723         TIME_WAIT   
    tcp        0      0 24.238.168.11:34090     66.35.250.110:80        ESTABLISHED 
    tcp        0      0 24.238.168.11:34079     66.35.250.110:80        ESTABLISHED 
    tcp        0      0 24.238.168.11:34078     66.35.250.110:80        ESTABLISHED 
    tcp        0      0 127.0.0.1:12345         127.0.0.1:34111         TIME_WAIT   
    tcp        0      0 192.168.1.1:8080        192.168.1.110:2367      ESTABLISHED 
    tcp        0      0 192.168.1.1:8080        192.168.1.110:2368      ESTABLISHED 
    tcp        0      0 192.168.1.1:8080        192.168.1.110:2336      ESTABLISHED 
    tcp        0      0 127.0.0.1:12345         127.0.0.1:34112         TIME_WAIT   
    tcp        0      0 192.168.1.1:8080        192.168.1.110:2337      ESTABLISHED 
    tcp        0      0 127.0.0.1:12345         127.0.0.1:34113         TIME_WAIT   
    tcp        0      0 192.168.1.1:8080        192.168.1.110:2370      ESTABLISHED 
    tcp        0      0 127.0.0.1:12345         127.0.0.1:34114         TIME_WAIT   
    tcp        0      0 192.168.1.1:8080        192.168.1.110:2306      ESTABLISHED 
    tcp        0      0 192.168.1.1:8080        192.168.1.110:2371      ESTABLISHED 
    tcp        0      0 127.0.0.1:12345         127.0.0.1:34115         TIME_WAIT   
    tcp        0      0 127.0.0.1:12345         127.0.0.1:34116         TIME_WAIT   
    tcp        0      0 127.0.0.1:12345         127.0.0.1:34117         TIME_WAIT   
    tcp        0      0 127.0.0.1:12345         127.0.0.1:34118         TIME_WAIT   
    tcp        0      0 127.0.0.1:12345         127.0.0.1:34119         TIME_WAIT   
    tcp        0      0 192.168.1.1:8080        192.168.1.110:2344      ESTABLISHED 
    tcp        0      0 127.0.0.1:12345         127.0.0.1:34120         TIME_WAIT   
    tcp        0      0 127.0.0.1:12345         127.0.0.1:34121         TIME_WAIT   
    tcp        0      0 192.168.1.1:8080        192.168.1.110:2346      TIME_WAIT   
    tcp        0      0 192.168.1.1:8080        192.168.1.110:2347      TIME_WAIT   
    tcp        0      0 192.168.1.1:8080        192.168.1.110:2349      ESTABLISHED 
    tcp        0      0 192.168.1.1:8080        192.168.1.110:2317      ESTABLISHED 
    tcp        0      0 192.168.1.1:8080        192.168.1.110:2286      ESTABLISHED 
    tcp        0      0 127.0.0.1:34129         127.0.0.1:443           TIME_WAIT   
    tcp        0      0 192.168.1.1:8080        192.168.1.110:2318      ESTABLISHED 
    tcp        0      0 192.168.1.1:8080        192.168.1.110:2287      ESTABLISHED 
    tcp        0      0 192.168.1.1:8080        192.168.1.110:2351      ESTABLISHED 
    udp        0      0 0.0.0.0:514             0.0.0.0:*                           
    udp        0      0 0.0.0.0:32773           0.0.0.0:*                           
    udp        0      0 0.0.0.0:32774           0.0.0.0:*                           
    udp        0      0 0.0.0.0:161             0.0.0.0:*                           
    udp        0      0 127.0.0.1:53            0.0.0.0:*                           
    udp        0      0 0.0.0.0:67              0.0.0.0:*                           
    udp        0      0 0.0.0.0:68              0.0.0.0:*                           
    udp        0      0 127.0.0.1:3401          0.0.0.0:*                           
    raw        0      0 0.0.0.0:1               0.0.0.0:*               7           

     


    There are probably a lot of 8080 connections locally because I'm running The Proxomitron  on my local computer.  However, I've already tried removing it and its presence or absence appears to have no affect on the problem at hand.