Hi,
lilzz wrote:I think it cannot . Unless it has software and routing table.
Please define "by default".
Actually each functionality needs software. This software could be (part of) operating system, a daemon, an application...
According to the routing table... I believe that each and every computer that has working network card contains routing table. You can see its content by executing
route command (sudo route). Similarly, for example, on Windows you can execute
route print command to see the table's content on your desktop computer.
What one box makes the router is that it has (roughly):
- at least two configured network cards (it could be done also with a single network card, but there are very rare cases where it makes sense... I cannot think of a single right now) and
- configured some proper records in routing table.
This is also the answer how you can create a router from your RasPi:
- add a second network card,
- add records to your routing table,
- enable forwarding,
- and, not to forget... configure firewall on it.
Best wishes, Ivan Zilic.