Find the answer to your Linux question:
Results 1 to 2 of 2
Dear forum, I really like the idea of using IPCop as a firewall for my Suse laptop. I have an old desktop PC with IPCop installed on it, and set ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2008
    Posts
    5

    I'm having trouble setting up IPCop


    Dear forum,

    I really like the idea of using IPCop as a firewall for my Suse laptop. I have an old desktop PC with IPCop installed on it, and set up in a red/green configuration. I can access the internet from the IPCop machine, and ping and traceroute various websites. I cannot connect to the IPCop machine from my laptop though. I am using a crossover cable, and no switch. I am plugged into the ethernet jack in the wall at the college, and use no modem or external router. I have the red zone set up to be the outside world and configured by DHCP. The green zone is set up on the other nic and is just my laptop connected to the IPCop machine with a crossover cable. The crossover cable tested ok. The green zone is configured with a static ip of 192.168.1.1

    Here is what is currently displayed on my laptop screen:
    PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
    64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=0.150 ms
    64 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=0.114 ms
    64 bytes from 192.168.1.1: icmp_seq=3 ttl=64 time=0.121 ms

    --- 192.168.1.1 ping statistics ---
    3 packets transmitted, 3 received, 0% packet loss, time 2177ms
    rtt min/avg/max/mdev = 0.114/0.128/0.150/0.018 ms
    user@ipcop:~> su
    Password:
    ipcop:/home/user # ifconfig -a
    eth0 Link encap:Ethernet HWaddr 00:19:5B:45:92:68
    inet addr:192.168.1.1 Bcast:255.255.255.255 Mask:255.255.255.0
    inet6 addr: fe80::219:5bff:fe45:9268/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:0 (0.0 b) TX bytes:558 (558.0 b)
    Interrupt:11

    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:96 errors:0 dropped:0 overruns:0 frame:0
    TX packets:96 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:6804 (6.6 Kb) TX bytes:6804 (6.6 Kb)

    sit0 Link encap:IPv6-in-IPv4
    NOARP MTU:1480 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:0
    RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)


    ipcop:/home/user # exit
    exit
    user@ipcop:~> ping xxx.21.147.38
    PING xxx.21.147.38 (xxx.21.147.3 56(84) bytes of data.
    From 192.168.1.1: icmp_seq=1 Destination Host Unreachable
    From 192.168.1.1 icmp_seq=1 Destination Host Unreachable
    From 192.168.1.1 icmp_seq=2 Destination Host Unreachable
    From 192.168.1.1 icmp_seq=3 Destination Host Unreachable

    --- xxx.21.147.38 ping statistics ---
    4 packets transmitted, 0 received, +4 errors, 100% packet loss, time 3007ms
    , pipe 3
    I tried to log into the IPCop machine through firefox, but I get the "cannot find page" screen.

    Here is what the screen currently looks like on my IPCop desktop:
    root@ipcop:~# ifconfig -a
    eth0 Link encap:Ethernet HWaddr 00:0E:2E:AA:CD:30
    inet addr:192.168.1.1 Bcast: 192.168.1.255 Mask: 255.255.255.0
    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:10 Base address:0xf000

    eth1 Link encap:Ethernet HWaddr 00:10:5A:16:5A:AD
    inet addrxx.21.147.38 Bcastxx.21.147.255 Mask:255.255.255.0
    UP BROADCAST NOTRAILERS RUNNING MTU:1500 Metric:1
    RX packets:16914 errors:0 dropped:0 overruns:0 frame:0
    TX packets:23 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:1674924 (1.5 MB) TX bytes:3386 (3.3 KB)
    Interrupt:5 Base address: 0x220

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

    root@ipcop:~# ping 192.168.1.1
    PING 192.168.1.1 (192.168.1.1): 56 data bytes
    64 bytes from 192.168.1.1: icmp_seq=0 ttl=64 time=0.335 ms
    I am guessing that there's probably something really simple that I forgot to do. I searched the forums, but couldn't find anything that would solve my problem. Is there something that I'm missing? I'd appreciate it if anybody would be able to point something out.

  2. #2
    Just Joined!
    Join Date
    Feb 2008
    Posts
    5
    Problem solved. I had the same IP address assigned to the IPCop green zone NIC as the IP address of my laptop. Having a duplicate IP address isn't good. I set it up to use DHCP instead of a static IP and now it's working.

Posting Permissions

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