Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 04-16-2013, 07:03 AM   #1
LQ Newbie
Registered: Apr 2013
Posts: 5

Rep: Reputation: Disabled
How to set up routing on BackTrack 5r3?

I have configured routing on BackTrack 5r3 (it's a kind of Ubuntu). But it doesn't work.

To set up router I made following steps:
1. Clean install BT5r3 from its Live CD.
2. Configured eth0 statically as and eth1 by DHCP (leased, gw Everything is up and running. Checked by ifconfig, route, and ping.
3. Set net.ipv4.ip_forward=1. Checked by sysctl, and cat /proc/... .
4. Checked iptables - everything is in ACCEPT policy, and no other rules.

After all traffic is not forwarded - host in configured to have as default gateway, and ping comes to the router but not forwarded. Traffic checked with wireshark on both interfaces of the router.

Maybe I missed something well-known?
Old 04-17-2013, 05:57 AM   #2
LQ Newbie
Registered: Apr 2013
Posts: 5

Original Poster
Rep: Reputation: Disabled
I think I found roots of this issue. I didn't mentioned that BT5 runs on an VirtualBox. Never thought it matters... VM uses bridged interface. After continuous sniffing I recognize that destination MAC-addresses of packets to be routed differs from router's MAC. It seems like VirtualBox changes MAC of VM NIC in outgoing packets (including ARP) to MAC of host NIC.

I believe I set up routing just fine.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Backtrack 5r3 fatal error LinuxUSx Linux - Newbie 1 03-16-2013 07:05 AM
Backtrack 5r3 fatal error LinuxUSx Linux - Newbie 2 03-13-2013 07:16 AM
backtrack 5r3 in thosiba c640d can_cworld Ubuntu 2 02-11-2013 09:56 AM
backtrack 5r3 in thosiba c640d can_cworld Linux - Laptop and Netbook 1 02-11-2013 08:58 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:47 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration