cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
991
Views
5
Helpful
3
Replies

Workaround is not retained for the “No Ping Response from C-SPC after Upgrade to 2.8.1” issue.

jvujcich
Level 1
Level 1

Hi There:

The workaround, for the “No Ping Response from C-SPC after Upgrade to 2.8.1” issue, is not retained after a system reload (as executed from the sntc “admin” user prompt).

 

How do I make the iptables stay, as changed, after a system reload?

ref:

iptables -I INPUT 13 --match icmp --protocol icmp --icmp-type any --jump ACCEPT

 

 
1 Accepted Solution

Accepted Solutions

Hey there,

I did notice that iptables-config file so i know where you are going with that.

However, before I read your answer, I had resolved it myself by using the old-school Linux "Vi" editor to add the icmp rule (-A INPUT -p icmp -j icmp_packets) into /etc/sysconfig/iptables.

I tested it, after a reload, and it's still there and still pingable.

 

Thanks anyway!

 

 

View solution in original post

3 Replies 3

jofrumki
Cisco Employee
Cisco Employee

Please add the rule again, then service iptables save, and finally run this command;

sed -i 's/IPTABLES_SAVE_ON_RESTART="no"/IPTABLES_SAVE_ON_RESTART="yes"/g' /etc/sysconfig/iptables-config

sed -i 's/IPTABLES_SAVE_ON_STOP="no"/IPTABLES_SAVE_ON_STOP="yes"/g' /etc/sysconfig/iptables-config

Let us know if this does not resolve the issue.

Hey there,

I did notice that iptables-config file so i know where you are going with that.

However, before I read your answer, I had resolved it myself by using the old-school Linux "Vi" editor to add the icmp rule (-A INPUT -p icmp -j icmp_packets) into /etc/sysconfig/iptables.

I tested it, after a reload, and it's still there and still pingable.

 

Thanks anyway!