[Xorp-users] Basic Setup Problems

Robert Appleton appletrp at gmail.com
Mon Jul 13 07:52:32 PDT 2009


Hi All,

I'm trying to set up a basic testing situation between 2 computers on
different subnets, a computer that has xorp, and a switch that is
connecting the 3 machines. I've emailed the list before but I still
can't seem to get it to work.

This is my Setup:
Computer 1:
IP: 192.168.1.110
Mask: 255.255.255.0
Gateway: 192.168.1.1

Computer 2:
IP:192.168.2.120
Mask: 255.255.255.0
Gateway: 192.168.2.1

Xorp Computer:
eth0 (is the NIC name) with 2 addresses
192.168.1.1
192.168.2.1
Computer only has 1 NIC
(I'm using fedora 10, and configured 2 addresses on the NIC)
I don't know if that is necessary or if it should only have one (Let me know)

When I ping from one computer to the other (even with the router off) I get
reply from 192.168.2.1 Destination Host Unavailable
-or-
reply from 192.168.1.1 Destination Host Unavailable

I pasted my configuration file below, please let me know what I need
to do so that I can get this basic setup to work. Thanks!

- Robert Appleton


interfaces {
          restore-original-config-on-shutdown: false
     interface "eth0" {
               disable: false
          address 192.168.1.1 {
               prefix-length: 24
               broadcast: 192.168.1.255
               disable: false
          }
     }

     interface "eth0" {
               disable: false
          address 192.168.2.1 {
               prefix-length: 24
               broadcast: 192.168.1.255
               disable: false
          }
     }

}

fea {
     unicast-forwarding4 {
          disable: false
     }
}

protocols {
     static {
          route 192.168.2.1/24 {
               next-hop: 192.168.2.120
          }

          route 192.168.1.1/24 {
               next-hop: 192.168.1.110
          }
     }
}



More information about the Xorp-users mailing list