I am confused, I thought I understand those basics but now I'm not quite sure any more...
Considering that conf :
cloned_interfaces="lo7"
ifconfig_bce0="dhcp"
ifconfig_bce0_alias0="inet 192.168.0.1/24"
ifconfig_lo7="inet 192.168.0.2/24"
And that lease from dhcp :
lease {
fixed-address 65.145.212.48;
next-server 65.145.16.19;
filename "pxelinux.0";
option subnet-mask 255.255.255.0;
option routers 65.145.212.1;
option domain-name-servers 65.145.16.6,65.145.16.7;
option domain-name "online.net";
option dhcp-server-identifier 65.145.18.5;
}
My believes are :
- If a packet is sent through 192.168.0.2 to 65.145.212.1, lo7 is traversed "out" to bce0 and bce0 is traversed "out" to the router
- Interfaces are traversed "in" by packets coming in to the machine and traversed "out" by packets leaving out to another physical machine
- rdr rules apply to packets that are "in" on interfaces to be "in" on a different ip address thus may be on another interface
- nat rules apply to packets that are "out" from an interface to be out on another ip address thus may be on another interface
I would like to know if those are correct assumptions!
Not only I am quite new to server administration and have never studied that topic properly at school, but english is not my primary language and even though I'm not too bad at it, some tech concepts remain quite blurred... I think that well explained in english or well translated in french should be sufficient for me to understand!