maintenance:general:nat
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| maintenance:general:nat [2021/10/22 08:58] – ↷ Links adapted because of a move operation pgels | maintenance:general:nat [2024/07/03 12:31] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== NAT ====== | ||
| + | When backing up configurations or doing filetransfers, | ||
| + | |||
| + | > Commands are send to the devices to do those kind of executions. | ||
| + | |||
| + | Because of the initiation on the node, the node needs to be able to reach the NetYCE instance. In some circumstances the NetYCE instance is NAT-ted, therefore known to the node with a different IP address. | ||
| + | |||
| + | Thus the NetYCE application needs to be configured to use this specific IP adress. | ||
| + | |||
| + | {{guides: | ||
| + | |||
| + | Shown in the example above, the netYCE VM resides inside a Laptop/ | ||
| + | The IP address of the VM is 192.169.190.128 and Host (Desktop/ | ||
| + | |||
| + | Thus the setup of NetYCE on login is as below | ||
| + | |||
| + | < | ||
| + | Starting net_setup | ||
| + | Good, root privileges apply | ||
| + | |||
| + | --netYCE networking setup Hit enter within 5 seconds to start setup ..... | ||
| + | --Start of setup | ||
| + | --System release | ||
| + | Identified CentOS - 6.10 | ||
| + | using setup for Redhat V6 | ||
| + | --Read network setup: '/ | ||
| + | --Read yce setup: '/ | ||
| + | --Setup passwords | ||
| + | enter ' | ||
| + | aborted setting ' | ||
| + | enter ' | ||
| + | aborted setting ' | ||
| + | --Setup hostname | ||
| + | Full qualified name is ' | ||
| + | Is this full name correct? [Y] | ||
| + | --Setup networking | ||
| + | Update networking? [Y] | ||
| + | Locating ethernet interfaces | ||
| + | eth0: ipv4=192.168.190.128 mask=255.255.255.0 network=192.168.190.0 /24 | ||
| + | eth0: default gateway=192.168.190.2 | ||
| + | YCE application address (eth0): 192.168.190.128 | ||
| + | - eth0: use static ip, dhcp or none? [static] | ||
| + | Using Fixed IP on eth0 | ||
| + | eth0: IPv4-address? | ||
| + | eth0: IPv4-netmask? | ||
| + | eth0: Default-gateway address? | ||
| + | eth0: NAT-ed IPv4-address? | ||
| + | eth0: Primary-DNS address? | ||
| + | eth0: Secondary-DNS address? | ||
| + | eth0 settings: | ||
| + | Boot-proto: static | ||
| + | On-boot: yes | ||
| + | Mac-address: | ||
| + | IPv4-address: | ||
| + | IPv4-netmask: | ||
| + | IPv4-network: | ||
| + | Default-gateway: | ||
| + | Primary-DNS: | ||
| + | Sencondary-DNS: | ||
| + | eth0: Is this correct? | ||
| + | --Save configuration? | ||
| + | == network | ||
| + | == ifcfg-eth0 | ||
| + | == resolv.conf | ||
| + | --Restart networking service? | ||
| + | == network restart (wait...) | ||
| + | Shutting down interface eth0: [ OK ] | ||
| + | Shutting down loopback interface: | ||
| + | Bringing up loopback interface: | ||
| + | Bringing up interface eth0: Determining if ip address 192.168.190.128 is already in use for device eth0... | ||
| + | | ||
| + | completed | ||
| + | --Use ' | ||
| + | == crontab | ||
| + | == hosts | ||
| + | == yce config update | ||
| + | --Re-generating application configurations and restarting daemons | ||
| + | -- ---------------------------------------- | ||
| + | -- Starting ' | ||
| + | -- | ||
| + | -- read network setup: '/ | ||
| + | -- read yce setup: '/ | ||
| + | -- | ||
| + | -- Current setup | ||
| + | # | ||
| + | # YCE Server overview: | ||
| + | # Name | ||
| + | # ---- | ||
| + | # lab netyce.org | ||
| + | # | ||
| + | -- Create configs for server ' | ||
| + | -- Yce: / | ||
| + | retrieving file-transfer configurations... | ||
| + | |||
| + | | ||
| + | ***********Output snipped for brevity ************** | ||
| + | # | ||
| + | </ | ||