Date: Mon, 15 Sep 2008 17:38:04 +0100 From: "Andy Smith" <a.smith@ukgrid.net> To: <freebsd-questions@freebsd.org> Subject: 2 logical interfaces in same subnet, problems... Message-ID: <041601c91751$6d518a60$6600a8c0@computer>
next in thread | raw e-mail | index | archive | help
Hi, I would like to configure a second sub/cloned interface on a FreeBSD = 5.3 system. I have read various bits and pieces on the subject but I cannot ping (from another server) the = second IP which I have configured. The steps I took to achieve this are: kldload if_vlan ifconfig=20 ifconfig fxp0.1 create # then add the IP to fxp0.1 # after which my interfaces look something like: fxp0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=3D8<VLAN_MTU> inet 10.10.10.1 netmask 0xffffff00 broadcast 10.10.10.255 inet6 fe80::203:47ff:fe71:21e7%fxp0 prefixlen 64 scopeid 0x1 ether 00:03:47:71:21:e7 media: Ethernet autoselect (100baseTX <full-duplex>) status: active fxp0.1: flags=3D8842<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 inet6 fe80::203:47ff:fe71:21e7%fxp0.1 prefixlen 64 scopeid 0x8 inet 10.10.10.2 netmask 0xffffffff broadcast 10.10.10.255 ether 00:03:47:71:21:e7 media: Ethernet autoselect (100baseTX <full-duplex>) status: active vlan: 1 parent interface: fxp0 >From this server itself I can ping the second IP 10.10.10.2, but from = other systems I can only ping 10.10.10.1. Im most familiar with Solaris and this type of config works no probs = with Solaris, is there something else I have to configure on FreeBSD? For example I found it wouldnt let me use = the normal subnet and I then read that for a second IP on the same subnet it should be set to -1 Any ideas? thanks for any help, Andy.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?041601c91751$6d518a60$6600a8c0>