To view IP Address information in Linux/UNIX, use ifconfig (F) command. It’s slightly different from Microsoft whereby ipconfig (P) command is used.
[R60-FW]# ifconfig
To change the IP Address, use the following command
ifconfig eth0 192.168.10.254 netmask 255.255.255.0 up
Again, use ifconfig command to verify it.
Even though we can change the IP Address of Check Point firewall by using this way, but it’s not advisable
Ifconfig is a temporary solution to change the ip address in the firewall. Once you’ve rebooted the firewall, it will be changed to the old ip address.
So, the best way to change IP Address of Check Point firewall permanently is by using sysconfigcommand:
[Expert@R60-FW]# sysconfig
Choose menu 5) Network Connections
Choose a configuration item (‘e’ to exit):
——————————————————————
1) Host name 7) DHCP Server Configuration
2) Domain name 8) DHCP Relay Configuration
3) Domain name servers 9) Export Setup
4) Time and Date 10) Products Installation
5) Network Connections 11) Products Configuration
6) Routing
——————————————————————
(Note: configuration changes are automatically saved)
Your choice:5
2) Configure connection
Choose a network connections configuration item (‘e’ to exit):
——————————————————————
1) Add new connection 4) Select management connection
2) Configure connection 5) Show connection configuration
3) Remove connection
——————————————————————
(Note: configuration changes are automatically saved)
Your choice:2
1) eth0
Choose a connection to configure (‘e’ to exit):
——————————————————————
1) eth0
2) eth1
3) eth2
——————————————————————
(Note: configuration changes are automatically saved)
Your choice: 1
1) Change IP settings
Choose eth0 item to configure (‘e’ to exit):
——————————————————————
1) Change IP settings 3) Remove IP from interface
2) Change MTU settings 4) Change from static to dynamic IP
——————————————————————
(Note: configuration changes are automatically saved)
Your choice: 1