Page 3 of 7 FirstFirst 12345 ... LastLast
Results 21 to 30 of 62

Thread: eth1 receives, no transmit.

  1. #21
    Join Date
    Jun 2012
    Location
    Isaan (the REAL Thailand)
    Beans
    172
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: eth1 receives, no transmit.

    I enabled ufw
    ufw status
    Status: active

    To Action From
    -- ------ ----
    67 DENY Anywhere
    22 ALLOW Anywhere
    80 ALLOW Anywhere

  2. #22
    Join Date
    Jan 2008
    Beans
    Hidden!
    Distro
    Kubuntu 13.04 Raring Ringtail

    Re: eth1 receives, no transmit.

    Quote Originally Posted by hawaiiman View Post
    should the "MASQUERADE" rule list the subnet and range of the LAN?
    No. Since eth0 is your uplink connection, we just have to say: masquerade everything that goes out of eth0 interface. Explicitly listing subnet is not required.

  3. #23
    Join Date
    Jan 2008
    Beans
    Hidden!
    Distro
    Kubuntu 13.04 Raring Ringtail

    Re: eth1 receives, no transmit.

    client send packets, but does not receive ip. ping from client 10 10.10.0.1 "destination host unreachable"
    You do not have any DROP rules, so firewall is not dropping anything. Sounds like DHCP server is not functioning correctly. That is why clients did not get IP.
    Can you try with static IP configuration?

  4. #24
    Join Date
    Jan 2008
    Beans
    Hidden!
    Distro
    Kubuntu 13.04 Raring Ringtail

    Re: eth1 receives, no transmit.

    Quote Originally Posted by hawaiiman View Post
    I enabled ufw
    ufw status
    Status: active

    To Action From
    -- ------ ----
    67 DENY Anywhere
    22 ALLOW Anywhere
    80 ALLOW Anywhere
    I don't use UFW myself, so I cannot help much with it. But you could give it a try since it simplifies matters. But first we need to confirm if it's only firewall which is having a problem. Since you are seeing issues even without any DROP rules.

  5. #25
    Join Date
    Jun 2012
    Location
    Isaan (the REAL Thailand)
    Beans
    172
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: eth1 receives, no transmit.

    Yes. I don't believe it's a rules problem. Everything was going perfect, and then changed. It may have been when I did update/upgrade . Maybe network manager caused it? I've turned of network manager, but still no joy. It's just the end of my day here, and our times seem to be somewhat out of synch. I guess I'll pack the beast up and take it home. be back on in an hour or so.

  6. #26
    Join Date
    Jun 2012
    Location
    Isaan (the REAL Thailand)
    Beans
    172
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: eth1 receives, no transmit.

    Ok. so what's next?

  7. #27
    Join Date
    Jan 2008
    Beans
    Hidden!
    Distro
    Kubuntu 13.04 Raring Ringtail

    Re: eth1 receives, no transmit.

    I don't think network-manager is causing this issue. It just sets IP for the interfaces. To check the IP:
    Code:
    ifconfig eth1
    If you don't give interface name, it will show all the interfaces. If interfaces are having IP addresss you have configured in netwok-manager, then no issues there.

    Did you try with static IPs? We are still in square 1
    Since we are not sure if there is any issue with DHCP server configuration, configure IP addresses statically on the client.
    for eg: server (eth1): 10.10.0.1 client conncted to eth1: 10.10.0.2.
    Disable UFW for now. Flush the rules as in earlier posts.
    Then from client: ping 10.10.0.1

    Let's see how this goes. After you have executed ping a few times, post the output of iptables -L -nv.

  8. #28
    Join Date
    Jun 2012
    Location
    Isaan (the REAL Thailand)
    Beans
    172
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: eth1 receives, no transmit.

    ok, i removed eth1 from machine, entered eth3 in interfaces, flushed rules and re-entered, set client ip to 10.10.0.10 as dhcp range starts there. client can now ping 10.10.0.1, but not 8.8.8.8 (unreachable). ipconfig of client shows no default gateway.

  9. #29
    Join Date
    Jun 2012
    Location
    Isaan (the REAL Thailand)
    Beans
    172
    Distro
    Ubuntu 10.04 Lucid Lynx

  10. #30
    Join Date
    Jun 2012
    Location
    Isaan (the REAL Thailand)
    Beans
    172
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: eth1 receives, no transmit.

    iptables -L -nv
    Chain INPUT (policy ACCEPT 172 packets, 53184 bytes)
    pkts bytes target prot opt in out source destination
    0 0 ACCEPT all -- eth1 * 0.0.0.0/0 0.0.0.0/0
    1751 157K ACCEPT all -- eth3 * 0.0.0.0/0 0.0.0.0/0

    Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
    pkts bytes target prot opt in out source destination
    0 0 ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0

    Chain OUTPUT (policy ACCEPT 163 packets, 27343 bytes)
    pkts bytes target prot opt in out source destination

    Chain ufw-after-forward (0 references)
    pkts bytes target prot opt in out source destination

    Chain ufw-after-input (0 references)
    pkts bytes target prot opt in out source destination
    0 0 ufw-skip-to-policy-input udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:137
    0 0 ufw-skip-to-policy-input udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:138
    0 0 ufw-skip-to-policy-input tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:139
    0 0 ufw-skip-to-policy-input tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:445
    0 0 ufw-skip-to-policy-input udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:67
    0 0 ufw-skip-to-policy-input udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:68
    0 0 ufw-skip-to-policy-input all -- * * 0.0.0.0/0 0.0.0.0/0 ADDRTYPE match dst-type BROADCAST

    Chain ufw-after-logging-forward (0 references)
    pkts bytes target prot opt in out source destination

    Chain ufw-after-logging-input (0 references)
    pkts bytes target prot opt in out source destination

    Chain ufw-after-logging-output (0 references)
    pkts bytes target prot opt in out source destination

    Chain ufw-after-output (0 references)
    pkts bytes target prot opt in out source destination

    Chain ufw-before-forward (0 references)
    pkts bytes target prot opt in out source destination
    0 0 ufw-user-forward all -- * * 0.0.0.0/0 0.0.0.0/0

    Chain ufw-before-input (0 references)
    pkts bytes target prot opt in out source destination
    0 0 ufw-user-input all -- * * 0.0.0.0/0 0.0.0.0/0

    Chain ufw-before-logging-forward (0 references)
    pkts bytes target prot opt in out source destination

    Chain ufw-before-logging-input (0 references)
    pkts bytes target prot opt in out source destination

    Chain ufw-before-logging-output (0 references)
    pkts bytes target prot opt in out source destination

    Chain ufw-before-output (0 references)
    pkts bytes target prot opt in out source destination
    0 0 ufw-user-output all -- * * 0.0.0.0/0 0.0.0.0/0

    Chain ufw-logging-allow (0 references)
    pkts bytes target prot opt in out source destination
    0 0 LOG all -- * * 0.0.0.0/0 0.0.0.0/0 limit: avg 3/min burst 10 LOG flags 0 level 4 prefix `[UFW ALLOW] '

    Chain ufw-logging-deny (0 references)
    pkts bytes target prot opt in out source destination
    0 0 RETURN all -- * * 0.0.0.0/0 0.0.0.0/0 state INVALID limit: avg 3/min burst 10
    0 0 LOG all -- * * 0.0.0.0/0 0.0.0.0/0 limit: avg 3/min burst 10 LOG flags 0 level 4 prefix `[UFW BLOCK] '

    Chain ufw-reject-forward (0 references)
    pkts bytes target prot opt in out source destination

    Chain ufw-reject-input (0 references)
    pkts bytes target prot opt in out source destination

    Chain ufw-reject-output (0 references)
    pkts bytes target prot opt in out source destination

    Chain ufw-skip-to-policy-forward (0 references)
    pkts bytes target prot opt in out source destination
    0 0 ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0

    Chain ufw-skip-to-policy-input (7 references)
    pkts bytes target prot opt in out source destination
    0 0 ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0

    Chain ufw-skip-to-policy-output (0 references)
    pkts bytes target prot opt in out source destination
    0 0 ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0

    Chain ufw-track-input (0 references)
    pkts bytes target prot opt in out source destination
    0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 state NEW
    0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 state NEW

    Chain ufw-track-output (0 references)
    pkts bytes target prot opt in out source destination
    0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 state NEW
    0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 state NEW

    Chain ufw-user-forward (1 references)
    pkts bytes target prot opt in out source destination

    Chain ufw-user-input (1 references)
    pkts bytes target prot opt in out source destination
    0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:67
    0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:67
    0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:22
    0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:22
    0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:80
    0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:80

    Chain ufw-user-limit (0 references)
    pkts bytes target prot opt in out source destination
    0 0 LOG all -- * * 0.0.0.0/0 0.0.0.0/0 limit: avg 3/min burst 5 LOG flags 0 level 4 prefix `[UFW LIMIT BLOCK] '
    0 0 REJECT all -- * * 0.0.0.0/0 0.0.0.0/0 reject-with icmp-port-unreachable

    Chain ufw-user-limit-accept (0 references)
    pkts bytes target prot opt in out source destination
    0 0 ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0

    Chain ufw-user-logging-forward (0 references)
    pkts bytes target prot opt in out source destination

    Chain ufw-user-logging-input (0 references)
    pkts bytes target prot opt in out source destination

    Chain ufw-user-logging-output (0 references)
    pkts bytes target prot opt in out source destination

    Chain ufw-user-output (1 references)
    pkts bytes target prot opt in out source destination

Page 3 of 7 FirstFirst 12345 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

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