LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Fedora network problems. (https://www.linuxquestions.org/questions/linux-newbie-8/fedora-network-problems-860899/)

john_erlandsson 02-05-2011 11:55 AM

Fedora network problems.
 
Hi!

I am unable to find other computers on my local network from my workstation.
Code:

nmap 192.168.0.*
shows me the workstation and the gateway(192.168.0.1)

My workstation has 2 interfaces: eth0 and eth1. both are checked in the "trusted interfaces" section of system-config-firewall
Network is currently connected to eth1.

If i run the same nmap command from my laptop (also fedora), it outputs everything on the network but my workstation.

The strange thing is that the workstation has functioning internet connection.

Any ideas?


//John

kbp 02-06-2011 03:31 PM

Need some more info:

ifconfig -a
iptables -L -n

Also from the laptop ..
ifconfig -a

cheers

John VV 02-06-2011 03:47 PM

fedora has EVERY and all ports "stealth blocked" by default
nmap should not be able to see them in a basic nmap ???.???.???.*

you might want to read
Code:

nmap --help
-- and --
man nmap


john_erlandsson 02-07-2011 05:31 PM

Thanks for taking an interest.

#ifconfig -a
Code:

eth0      Link encap:Ethernet  HWaddr 00:1E:8C:74:6B:61 
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:19

eth1      Link encap:Ethernet  HWaddr 00:1E:8C:74:70:FA 
          inet addr:192.168.0.77  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::21e:8cff:fe74:70fa/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:16549 errors:0 dropped:0 overruns:0 frame:0
          TX packets:12953 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:19596136 (18.6 MiB)  TX bytes:1620486 (1.5 MiB)
          Interrupt:17

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:17 errors:0 dropped:0 overruns:0 frame:0
          TX packets:17 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:785 (785.0 b)  TX bytes:785 (785.0 b)

#iptables --L -n
Code:

Chain INPUT (policy ACCEPT)
target    prot opt source              destination       
ACCEPT    all  --  0.0.0.0/0            0.0.0.0/0          state RELATED,ESTABLISHED
ACCEPT    icmp --  0.0.0.0/0            0.0.0.0/0         
ACCEPT    all  --  0.0.0.0/0            0.0.0.0/0         
ACCEPT    all  --  0.0.0.0/0            0.0.0.0/0         
ACCEPT    all  --  0.0.0.0/0            0.0.0.0/0         
ACCEPT    all  --  0.0.0.0/0            0.0.0.0/0         
ACCEPT    all  --  0.0.0.0/0            0.0.0.0/0         
ACCEPT    all  --  0.0.0.0/0            0.0.0.0/0         
ACCEPT    all  --  0.0.0.0/0            0.0.0.0/0         
ACCEPT    ah  --  0.0.0.0/0            0.0.0.0/0         
ACCEPT    esp  --  0.0.0.0/0            0.0.0.0/0         
ACCEPT    udp  --  0.0.0.0/0            0.0.0.0/0          state NEW udp dpt:500
ACCEPT    udp  --  0.0.0.0/0            224.0.0.251        state NEW udp dpt:5353
ACCEPT    udp  --  0.0.0.0/0            0.0.0.0/0          state NEW udp dpt:631
ACCEPT    udp  --  0.0.0.0/0            0.0.0.0/0          state NEW udp dpt:137
ACCEPT    udp  --  0.0.0.0/0            0.0.0.0/0          state NEW udp dpt:138
ACCEPT    tcp  --  0.0.0.0/0            0.0.0.0/0          state NEW tcp dpt:22
REJECT    all  --  0.0.0.0/0            0.0.0.0/0          reject-with icmp-host-prohibited

Chain FORWARD (policy ACCEPT)
target    prot opt source              destination       
ACCEPT    all  --  0.0.0.0/0            0.0.0.0/0          state RELATED,ESTABLISHED
ACCEPT    icmp --  0.0.0.0/0            0.0.0.0/0         
ACCEPT    all  --  0.0.0.0/0            0.0.0.0/0         
ACCEPT    all  --  0.0.0.0/0            0.0.0.0/0         
ACCEPT    all  --  0.0.0.0/0            0.0.0.0/0         
ACCEPT    all  --  0.0.0.0/0            0.0.0.0/0         
ACCEPT    all  --  0.0.0.0/0            0.0.0.0/0         
ACCEPT    all  --  0.0.0.0/0            0.0.0.0/0         
ACCEPT    all  --  0.0.0.0/0            0.0.0.0/0         
REJECT    all  --  0.0.0.0/0            0.0.0.0/0          reject-with icmp-host-prohibited

Chain OUTPUT (policy ACCEPT)
target    prot opt source              destination

Left the laptop in my workshop today, but it uses wlan0 and when I last checked it had IP: 192.168.0.8. If that helps.


//John

kbp 02-09-2011 03:22 AM

Looks like it should work ... try 'nmap -sP 192.168.0.1-254'. Are the other machines connected via wireless or wired ?

john_erlandsson 02-11-2011 08:36 PM

Nope, nmap still just shows me the gateway.

There are 2 laptops on the network at the moment. Both are connected via wlan0 and can find each other...
I cant connect to them through SSH either.

How does it make a difference if they are using wireless?
Could the gateway separate the wired and wireless traffic?

//John

kbp 02-12-2011 06:49 AM

Depends on how you plugged it in .. it might be firewalling

trist007 02-12-2011 07:25 AM

Also make sure that you're using the same subnet mask as the other computers on the network.

trist007 02-12-2011 07:34 AM

Also make sure that your workstation is accepting ping requests, otherwise on nmap if it doesn't reply to a ping it will not scan it unless you use the nmap -PN option.


All times are GMT -5. The time now is 02:53 AM.