|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here! |
|
#1
|
|||
|
|||
|
Two ethernet cards and two subnets
I have two seperate subnets that are 10.2.1/24 and 10.1.1/24. i have apached setup to acept connections on 10.1.1.21 and 10.2.1.21 but you see the problem is that I cannot get FreeBSD to accept connections on both subnets. They only way i have it now is that the subnets gateay who is default works. Please help me AS FAST AS YOU CAN!!
|
|
#2
|
||||
|
||||
|
Please post the output of /sbin/ifconfig and /usr/bin/netstat -ar here
__________________
Up the Irons What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home. "Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest Down with Sharon Osbourne Puzzle of the Month solved by sizeablegrin, etienne141 and L7Sqr, superior C/C++ programmers of the month |
|
#3
|
|||
|
|||
|
ifconfig:
fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=3<RXCSUM,TXCSUM> inet 10.1.1.21 netmask 0xffffff00 broadcast 10.1.1.255 inet6 fe80::202:b3ff:fed9:e6f7%fxp0 prefixlen 64 scopeid 0x1 ether 00:02:b3:d9:e6:f7 media: Ethernet autoselect (100baseTX <full-duplex>) status: active em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=3<RXCSUM,TXCSUM> inet 10.2.1.21 netmask 0xffffff00 broadcast 10.2.1.255 inet6 fe80::20c:f1ff:fe74:7167%em0 prefixlen 64 scopeid 0x2 ether 00:0c:f1:74:71:67 media: Ethernet autoselect (100baseTX <full-duplex>) status: active plip0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet 127.0.0.1 netmask 0xff000000 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 netstat -rn -f inet: Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 10.2.1.1 UGS 0 2373 em0 10.1.1/24 link#1 UC 0 0 fxp0 10.1.1.1 00:06:25:75:bc:e3 UHLW 0 123 fxp0 1122 10.1.1.10 00:e0:18:4f:30:71 UHLW 0 2645 fxp0 862 10.1.1.21 127.0.0.1 UGHS 0 395 lo0 10.1.1.255 ff:ff:ff:ff:ff:ff UHLWb 0 140 fxp0 10.2.1/24 link#2 UC 0 0 em0 10.2.1.1 00:04:5a:d0:17:27 UHLW 1 0 em0 1193 10.2.1.21 127.0.0.1 UGHS 0 0 lo0 10.2.1.255 ff:ff:ff:ff:ff:ff UHLWb 0 140 em0 127.0.0.1 127.0.0.1 UH 2 145 lo0 |
|
#4
|
||||
|
||||
|
Your network setup looks ok to me. Did you say you're having trouble with Apache accepting connections on both interfaces? In that case, please post your httpd.conf file here. Most likely this smells like an apache config issue.
|
|
#5
|
|||
|
|||
|
No apache is fine could it be my nic card then?
|
|
#6
|
|||
|
|||
|
If you shut down one interface can you ping the other one (from the other side) ? explain the problem in more detail. are both interfaces able to send packets?
|
![]() |
| Viewing: Dev Shed Forums > Operating Systems > BSD Help > Two ethernet cards and two subnets |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|