Hello friends,
I'm a newbie to FreeBSD. Trying to implement a IEEE paper: Energy consumption models for ad-hoc terminals (computers).
The test setup with three computers and wireless NIC goes as follows:
Here laptop B acts as a forwarder. It has one wireless NIC. I use an IP alias to create a virtual NIC to forward the data to receiver. But laptop B is not forwarding the packet.
My /etc.rc.conf file is as follows:
Laptop A (Transmitter):
Laptop B (Forwarder):
Laptop C (Receiver):
Can some one tell me why laptop B is not forwarding the packets? Thanks in advance.
I'm a newbie to FreeBSD. Trying to implement a IEEE paper: Energy consumption models for ad-hoc terminals (computers).
The test setup with three computers and wireless NIC goes as follows:
Code:
Transmitter (A) -------------> Forwarder (B) --------------> Receiver (C)
10.0.1.1/24 ------------------ 10.0.1.2/24 (10.0.2.2/24) --- 10.0.2.1/24
Here laptop B acts as a forwarder. It has one wireless NIC. I use an IP alias to create a virtual NIC to forward the data to receiver. But laptop B is not forwarding the packet.
My /etc.rc.conf file is as follows:
Laptop A (Transmitter):
Code:
wlans_ath0="wlan0"
create_args_wlan0="wlanmode adhoc"
ifconfig_wlan0="inet 10.0.1.1 netmask 255.255.255.0 ssid energy"
Laptop B (Forwarder):
Code:
wlans_ath0="wlan0"
create_args_wlan0="wlanmode adhoc"
ifconfig_wlan0="inet 10.0.1.1 netmask 255.255.255.0 ssid energy"
ifconfig_wlan0_alias0="inet 10.0.2.2 netmask 255.255.255.0 ssid energy"
Laptop C (Receiver):
Code:
wlans_ath0="wlan0"
create_args_wlan0="wlanmode adhoc"
ifconfig_wlan0="inet 10.0.2.1 netmask 255.255.255.0 ssid energy"
Can some one tell me why laptop B is not forwarding the packets? Thanks in advance.